伪静态对struts action的重写

参见 http://ocaicai.iteye.com/blog/1312189

最重要的而是在web.xml中配置

<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>

下面的dispatcher 一定要,很多文档没说清这个.

原文地址:https://www.cnblogs.com/yanjunwu/p/4316367.html