有关struts2的问题
<filter><filter-name>struts2</filter-name><filter-class>org.apache.struts2.dispatcher...
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
web.xml内的内容,我只想它过滤"/*.action "
但改为 <url-pattern>/*.action</url-pattern>后就不能正常访问了 展开
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
web.xml内的内容,我只想它过滤"/*.action "
但改为 <url-pattern>/*.action</url-pattern>后就不能正常访问了 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询