参见 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
相关资源:JAVA上百实例源码以及开源项目