jsp报The Struts dispatcher cannot be found. This is usually caused by using Struts tags without
来源:互联网 发布:域名如何绑定服务器ip 编辑:程序博客网 时间:2024/06/10 15:51
学习struts2时候,在jsp中使用到<s:fielderror/>回显错误信息报
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]
,上网查找发现错误的产生是配置web.xml的问题
原配置:
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
修改为:
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
就可以了
- jsp报The Struts dispatcher cannot be found. This is usually caused by using Struts tags without
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the...
- Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associat
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the assoc
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the assoc
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the asso
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the assoc
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the asso
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the asso
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the assoc
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the...的异常
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the assoc
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the asso
- he Struts dispatcher cannot be found. This is usually caused by using Struts tags without the assoc
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags a
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags a
- Struts2标签问题-The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. S
- struts2 标签使用异常 The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filte
- OSG 透明度
- python学习笔记二
- DOJO grid一个小例子
- 矩形的个数
- 九宫图、四四图、五五图and so on
- jsp报The Struts dispatcher cannot be found. This is usually caused by using Struts tags without
- .NET 加密器,保护.NET源码,压缩EXE
- Oracle常用函数
- ios之@property和@synthesize
- HTTP状态码(HTTP Status Code)
- Oracl基本操作SQL
- java中的final类型
- Js apply,call方法详解
- css hack兼容性问题