<!-- 設(shè)置編碼格式 -->
<constant name="struts.i18n.encoding" value="UTF-8"></constant>
<!-- 使用spring 管理 -->
<constant name="struts.objectFactory" value="spring"></constant>
<!-- 關(guān)閉緩存 -->
<constant name="struts.serve.static.browserCache" value="false"></constant>
<!-- 當(dāng)struts的配置文件修改后,系統(tǒng)是否自動(dòng)重新加載該文件,默認(rèn)值為false(生產(chǎn)環(huán)境下使用),開發(fā)階段最好打開 -->
<constant name="struts.configuration.xml.reload" value="true" />
<!-- 開發(fā)模式下使用,這樣可以打印出更詳細(xì)的錯(cuò)誤信息 -->
<constant name="struts.devMode" value="true" />
<!-- 默認(rèn)的視圖主題 -->
<constant name="struts.ui.theme" value="simple" />