zdc253212956 发表于 2017-1-10 08:06:34

Cannot find bean under name org.apache.struts.tagl

  Cannot find bean under name org.apache.struts.taglib.html.BEAN

有一些struts标签必须放在<form>里,不然就会报这个错,报了这个错就说明有标签没放<form>里

比如
<html:select property="111">
<html:option value="1">1</option>
</html:seelct>
<html:form action="/select111.do" method="post">
</html:form>

 这样就会出错拉,把select标签放到form里就OK
  黑色头发  http://heisetoufa.iteye.com
页: [1]
查看完整版本: Cannot find bean under name org.apache.struts.tagl