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]
关于structs 2中的jsp文件导入“/struts-tags”出在以上错误的问题解决方案
1.将web.xml中的“<url-pattern>*.action</url-pattern>” *.action或*.do更改为:“/*”这样可以打开jsp文件
2.想要打开的jsp文件可以通过一个action进行跳转
本文介绍了 Struts2 中遇到的无法找到 Struts 分发器的问题及其解决方案。主要原因是使用了 Struts 标签但未通过相应的过滤器。文章提供了两种解决方法:一是修改 web.xml 中的 url-pattern;二是通过 action 进行页面跳转。
533

被折叠的 条评论
为什么被折叠?



