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>
posted on 2011-11-15 18:50 yita 阅读(327) 评论(0) 编辑 收藏
Powered by: BlogJava Copyright © yita