- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Strut
- s tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher n
- eeded for this tag. - [unknown location]
将<filter>
<filter-name>cleanup</filter-name>
<filter-class>org.apache.struts2.dispatcher.ActionContextCleanUp</filter-class>
</filter>
<filter-mapping>
<filter-name>cleanup</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>放到最前面就没出现了