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

你可能感兴趣的:(apache,html,bean,struts,idea)