标签:
simple就是什么模板都不要,xhtml是默认的,带一些struts2提供的模块,
例如有可能在你的表单中加入<form ...><table class="wwFormTable"></table></form>
主要是方便界面警告和错误消息处理以及页面验证
查看一下struts.properties
或
org/apache/struts2/default.properties
struts.ui.theme=xhtml
struts.ui.templateDir=template
struts.ui.templateSuffix=ftl
你可以在struts.xml中添加
<constant name="struts.ui.theme" value="simple" />来修改这个参数
标签:
原文地址:http://www.cnblogs.com/tian114527375/p/4986613.html