读书人

化除struts2标签的样式 ftl

发布时间: 2013-02-03 12:33:31 作者: rapoo

消除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。

读书人网 >Web前端

热点推荐