标签:
引入Struts2 框架后,在原有html代码上自动添加了大量的table、tr、等标签,去掉方法如下:
在struts2的配置文件struts.xml中添加下面的语句:
<constant name="struts.ui.theme" value="simple"></constant>
意思为使用简单主题;
struts2 去掉自动添加的 html
原文地址:http://www.cnblogs.com/juson37/p/5879812.html