Struts2自动添加 table tr 等问题

<form id="pubInfoAction" name="pubInfForm" action="/ISM/test/pubInfoAction!addPubinfo.action" method="post">
<table class="wwFormTable">
<tr>
    <td class="tdLabel"></td>
    <td
><input type="text" name="tsPubInfo.title" maxlength="166" value="dafsdfs" id="pubInfoAction_tsPubInfo_title"/></td>
</tr>
</td>




解决方法:

修改struts.xml文件,在其中加入如下行
<constant name="struts.ui.theme" value="simple" />


REFERENCES:http://blog.sina.com.cn/s/blog_5f055bd90100u1wq.html


---------------------------------------------------------------------------------------------------------------------------------
copyright:http://www.cnblogs.com/anee/
原文地址:https://www.cnblogs.com/anee/p/2675734.html