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

dengweiid dengweiid 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
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
...全文

相关推荐

评论
收藏 已收藏
分享
返回顶部
dengweiid
Web 开发 81,107 成员 341,720 内容