struts2 OGNL token标签的问题

Ant_J 发布于 2010/09/25 11:29
阅读 1K+
收藏 0

两个问题
一、启动的时候怎么报这样的错
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)

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

加载中
0
Ant_J
Ant_J

开源中国的人气有待于进一步提高啊,哎!!!!

0
绿悠悠
绿悠悠

The Struts dispatcher cannot be found.

This is usually caused by using Struts tags without the associated filter.

0
Ant_J
Ant_J

大姐我也知道是啥意思,我想知道哪导致的。

0
StormFour
StormFour
在web.xml里没有配置Struts的Filter?
返回顶部
顶部