ViewResourcesConfig类表现了<view-resource>元素的配置信息.
下表列出了ViewResourcesConfig类的属性,条目描述和默认值:
Name
Description
Default Value
$appTitle
The application title
'My Web Application'
$appVersion
The application version
'1.0'
$copyright
The copyright notice
'Copyright C YYYY My Name. All rights reserved.'
$contactInfo
The contact information
'webmaster@myhost.com'
$processTags
Do we run the template engine processor (boolean)
False
$compileAll
Force compile pages (boolean)
False
$tagL
The left tag identifier
'<@'
$tagR
The right tag identifier
'@>'
$tplDir
The view resource templates directory
'./WEB-INF/tpl'
$tplDirC
The compiled templates directory
'./WEB-INF/tpl_C'
$extC
The compiled file notation. Eg: "pageContent.ssp[C]"
'C'
$maxFileLength
The maximum size of the template files allowed, in bytes (integer)
250000
$tagFlagStr
Indicates tag template file(s) to be pre-processed. Eg: "myPage.ssp"
'.ssp'
$tagFlagCnt
The number of trailing filename characters to sample (".ssp" = -4)
-4