摘要:
1.UrlRewriteFilter 应在struts2过滤器前。2.struts2的filtermap应如此修改,否则会报404错误。1 <filter-mapping>2 <filter-name>struts2</filter-name>3 <url-pattern>/*</url-pattern>4 <dispatcher>REQUEST</dispatcher>5 <dispatcher>FORWARD</dispatcher>6 </filter-mapping> 阅读全文