struts2标签中<s:textfield>中label不显示

来源:互联网 发布:mt4顾比均线指标源码 编辑:程序博客网 时间:2024/05/29 03:17


在form中加入s:textfield标签,其中的label不显示,上网查找原因,原来是这样的

struts.xml中加了

<constant name="struts.ui.theme" value="simple" /> 把这个去除,这个是控制struts标签不自动生成<tr><td>标签的。

0 0
原创粉丝点击