4
回答
struts2 OGNL token标签的问题
百度AI开发者大赛带你边学边开发,赢100万奖金,加群:418589053   

两个问题
一、启动的时候怎么报这样的错
2010-9-25 10:45:28 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/apache-tomcat-6.0.26/webapps/s2/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:29:72


二、
用struts2的令牌机制,JSP里面加入 <s:token></s:token>
为什么提示这样的错?
严重: Servlet.service() for servlet jsp threw exception
The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag. - [unknown location]
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60)

这是什么意思?
包已经都是全的,没有落下

举报
Ant_J
发帖于8年前 4回/1K+阅
顶部