Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
2009-08-17 18:49
393 查看
Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
错误提示:
Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
解决办法:
2个原因:
第一:
在JSP文件中有;
<%@taglib uri="struts-bean" prefix="bean"%>
<%@taglib uri="struts-html" prefix="html"%>
<%@taglib uri="struts-logic" prefix="logic"%>
在web.xml配置了如下:
<taglib>
<taglib-uri>struts-bean</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-html</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-logic</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-template</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-template.tld</taglib-location>
</taglib>
第二:
<html:text property=“id“/>这个标签的外面的form标签必须用<html:form>标签不能用 <form >标签
错误提示:
Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
解决办法:
2个原因:
第一:
在JSP文件中有;
<%@taglib uri="struts-bean" prefix="bean"%>
<%@taglib uri="struts-html" prefix="html"%>
<%@taglib uri="struts-logic" prefix="logic"%>
在web.xml配置了如下:
<taglib>
<taglib-uri>struts-bean</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-html</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-logic</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-template</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-template.tld</taglib-location>
</taglib>
第二:
<html:text property=“id“/>这个标签的外面的form标签必须用<html:form>标签不能用 <form >标签
相关文章推荐
- Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope 问题
- Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
- Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
- Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
- Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
- Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
- Cannot find bean org.apache.struts.taglib.html.BEAN in any scope异常解决方案
- struts的异常: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
- "org.apache.struts.taglib.html.BEAN" in any scope
- java开源框架集成常见错误之Cannot find bean under name org.apache.struts.taglib.html.BEAN
- Cannot find bean under name org.apache.struts.taglib.html.BEAN
- java开源框架集成常见错误之Cannot find bean under name org.apache.struts.taglib.html.BEAN
- Cannot find bean org.apache.struts.taglib.html.BEAN错误处理
- Cannot find bean under name org.apache.struts.taglib.html.BEAN
- org.apache.jasper.JasperException: Cannot find bean: "list" in any scope
- Struts中Cannot find bean XXX in any scope的问题
- [Struts]"Cannot find bean in any scope"之一解
- Exception thrown by getter for property, bean org.apache.struts.taglib.html.BEAN
- Cannot find bean in any scope
- 出现Cannot find bean name in any scope的解决办法