struts2错误:The Struts dispatcher cannot be found.
来源:互联网 发布:淘宝能办理信用卡 编辑:程序博客网 时间:2024/04/29 08:05
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)
at org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:44)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:48)
at org.apache.jsp.message._404_jsp._jspService(_404_jsp.java:159)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
解决办法:加了标签后,出现此问题
其实最后只在原配置基础上加上.jsp过滤即可
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
- struts2错误:The Struts dispatcher cannot be found.
- struts2错误:The Struts dispatcher cannot be found.
- struts2错误:The Struts dispatcher cannot be found.
- struts2错误:The Struts dispatcher cannot be found.
- struts2错误:The Struts dispatcher cannot be found.
- struts2错误:The Struts dispatcher cannot be found.
- Struts2配置错误之The Struts dispatcher cannot be found
- Struts2错误:The Struts dispatcher cannot be found.
- struts2错误:The Struts dispatcher cannot be found
- Struts2-The Struts dispatcher cannot be found
- struts标签错误The Struts dispatcher cannot be found.
- struts标签错误The Struts dispatcher cannot be found.
- struts2 异常信息:The Struts dispatcher cannot be found.
- struts2常见标签异常:The Struts dispatcher cannot be found.
- struts2.0 下The Struts dispatcher cannot be found 解决方法
- Struts2.0的异常 The Struts dispatcher cannot be found.
- struts2标签 The Struts dispatcher cannot be found
- The Struts dispatcher cannot be found in struts2
- 经典排序算法代码集合
- 强力推荐一个Makefile教程
- Linux查看端口使用状态及启动
- ubuntu下通过python处理word文件中的表格
- Codeforces 28B. pSort 连通性
- struts2错误:The Struts dispatcher cannot be found.
- mongodb学习
- linux下mysql集群搭建
- android上中断执行的Runnable
- Ubuntu下用codeblock+mysql安装、配置、连接
- PowerQUICC
- uitextfield键盘遮挡问题
- A. Dividing Orange
- Jquery介绍