|
|
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
loggerProvider=org.commontemplate.util.log.SimpleLoggerProvider()
#loggerProvider=org.commontemplate.util.log.CommonsLoggerProvider()
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.standard.cache.OSCache()
#memoryCache=org.commontemplate.standard.cache.EHCache()
memoryCache.maxSize=1000
|
|
|