用于设置编码[相当于request.setCharacterEncoding("gbk");]
<constant name="struts.i18n.encoding" value="gbk"></constant>
用于设置struts2处理的请求后缀(可指定多个,用逗号分隔)
<constant name="struts.action.extension" value="action,do"></constant>
用于设置浏览器是否缓存响应结果(默认为true),建议在开发阶段设置为false
<constant name="struts.serve.static.browserCache" value="false"></constant>
设置系统是否自动重新加载配置文件,默认为false,建议在开发阶段开启
<constant name="struts.configuration.xml.reload" value="true"></constant>
设置是否输出详细的错误信息(建议在开发阶段开启)
<constant name="struts.devMode" value="true"></constant>
设置struts2主题(xhtml,html,simple,ajax)
<constant name="struts.ui.theme" value="simple"></constant>
<constant name="struts.i18n.encoding" value="gbk"></constant>
用于设置struts2处理的请求后缀(可指定多个,用逗号分隔)
<constant name="struts.action.extension" value="action,do"></constant>
用于设置浏览器是否缓存响应结果(默认为true),建议在开发阶段设置为false
<constant name="struts.serve.static.browserCache" value="false"></constant>
设置系统是否自动重新加载配置文件,默认为false,建议在开发阶段开启
<constant name="struts.configuration.xml.reload" value="true"></constant>
设置是否输出详细的错误信息(建议在开发阶段开启)
<constant name="struts.devMode" value="true"></constant>
设置struts2主题(xhtml,html,simple,ajax)
<constant name="struts.ui.theme" value="simple"></constant>