开的过程中碰到问题: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 >标签
分享到:
相关推荐
绝对可以解决这个这个问题。Struts初学者绝对可以受用的方法。
struts-taglib-1.3.10.jar struts-taglib.jar taglib.jar
jsp使用自定义标签taglib分页系列——完整例子(其中struts控件和包我没有加入,需要自己加入)
这里在实现自定义标签时,继承的2个类分别是org.apache.struts2.views.jsp.ComponentTagSupport和org.apache.struts2.components.Component,ComponentTagSupport实际上是对BodyTagSupport的一次封装,看一下...
NULL 博文链接:https://8366.iteye.com/blog/415329
struts-taglib-1.3.8.jar struts-taglib-1.3.8.jar
struts taglib使用示例 struts taglib使用示例 struts taglib使用示例struts taglib使用示例 struts taglib使用示例
struts-1.3.8 包( <br>antlr-2.7.2.jar bsf-2.3.0.jar commons-beanutils-1.7.0....mailreader-dao-1.3.8.jar struts-scripting-1.3.8.jar struts-taglib-1.3.8.jar struts-tiles-1.3.8.jar )
bean元素...............................................................................................................14 Action元素....................................................................
AjaxTags项目是在现有的Struts ... AjaxTags改写了Struts标签类org.apache.struts.taglib.html.FormTag和org.apache.struts.taglib.html.BaseHandlerTag,并使用Struts的plugin技术,使得Struts提供了对AJAX的支持。
<% @ taglib uri = " http://struts.apache.org/tags-html " prefix = " html " %> <% @ taglib uri = " http://struts.apache.org/tags-logic " prefix = " logic " %> <% @ taglib uri = " ...
关于Struts Taglib的现实介绍
struts帮助文档chm+taglib 全是英文 有兴趣的可以看看
taglib(struts2标签).doc
struts2的jar之一struts2-core-2.0.14.jar
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location> </taglib> <taglib> <taglib-uri>/tags/struts-logic</taglib-uri> <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> ...
Struts开发指南之Taglib.doc Struts开发指南之安装与使用.doc Struts开发指南之工作流程.doc Struts模块化编程教程 .doc struts傻瓜式学习(一天篇).doc 实例学习 Struts.doc 样章第02章 第一个Struts应用helloapp...
适用于struts2的pager-taglib 把pager.offset修改成了pagerOffset 不用再在每个Action里定义pager的
Struts开发指南之Taglib.doc