struts2过滤器不过滤自带ajax发出的请求??

dengweiid 2010-10-25 02:40:16
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]

上面是错误信息,是访问自愿没有经过struts2的 过滤器,但是现在已经设置成 /* 对所有请求过滤。

另外,只有用到struts2自带的ajax(dojo库),比如时间标签等等 时,才会出现上面异常

疑问,涉及struts2自带ajax的请求 难道不经过 过滤器 FilterDispacher??

请指教
1.解决办法、
2.struts2过滤器是否真的不过滤自带ajax发出的请求?(似乎不可能)请您纠正,并指出出现现在这个异常的原因

3Q
...全文
194 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧