化除struts2标签的样式 ftl

消除struts2标签的样式 ftl1.增加struts.propertiesconstant namestruts.ui.theme valueusr/? ? ?

消除struts2标签的样式 ftl

1.增加struts.properties

<constant name="struts.ui.theme" value="usr"/>

? ? ?<constant name="struts.ui.templateDir" value="WEB-INF/template"/>

? ? <constant name="struts.ui.templateSuffix" value="ftl" />

2.在WEB-INF下建立template文件夹,将struts2-core-2.3.8.jar解压,拿来template文件夹中的内容放入建立的template文件夹中,接着任意修改ftl就OK。