条件1:struts2核心过滤器过滤url-pattern为*.action
条件2:JSP页面中使用了struts标签
条件3:通过url直接访问该JSP页面
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]
错误提示说的很清楚:该错误通常是由使用struts标签时未关联核心过滤器所致.Struts标签只有当请求通过核心过滤器时才能生效,因为Struts标签需要核心过滤器对其进行初始化.
转载于:https://www.cnblogs.com/kknd713/archive/2013/06/15/3140913.html
相关资源:JAVA上百实例源码以及开源项目