当前位置: 代码迷 >> Web前端 >> 化除struts2标签的样式 ftl
  详细解决方案

化除struts2标签的样式 ftl

热度:84   发布时间:2013-02-03 12:33:31.0
消除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。

  相关解决方案