码迷,mamicode.com
首页 > Web开发 > 详细

struts2 去掉自动添加的 html

时间:2016-09-17 23:19:34      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:

引入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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!