|
CommonTemplate Configuration Guide |
|
1. Properties Configuration
@extends=org/commontemplate/tools/web/commontemplate.properties
debugMode=false
messagesBasename=xxx/yyy
defaultNullValue=
defaultDateFormat=yyyy-MM-dd HH:mm:ss
defaultNumberFormat=###,##0.###
defaultEncoding=UTF-8
virtualDirectory=WEB-INF/views/
modificationCheckInterval=30000
logger=org.commontemplate.standard.log.SimpleLogger()
#logger=org.commontemplate.standard.log.CommonsLogging()
diskCache.directory=WEB-INF/cache/
diskCache.filePrefix=
diskCache.fileSuffix=.template
diskCache.pathSeparatorReplacer=_-
memoryCache=org.commontemplate.standard.cache.LruCache()
#memoryCache=org.commontemplate.standard.cache.MruCache()
#memoryCache=org.commontemplate.standard.cache.FifoCache()
#memoryCache=org.commontemplate.standard.cache.NoneCache()
#memoryCache=org.commontemplate.standard.cache.WeakCache()
#memoryCache=org.commontemplate.standard.cache.SoftCache()
#memoryCache=org.commontemplate.standard.cache.StrongCache()
#memoryCache=org.commontemplate.ext.cache.OSCache()
#memoryCache=org.commontemplate.ext.cache.EHCache()
memoryCache.maxSize=1000
|
|