摘要: 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 @ 2011-11-15 18:50 奈何醉 阅读(438) 评论(0) 推荐(0) 编辑