当struts2 web.xml /*加上.action就报错 Invalid <url-pattern> /*.action in filter mapping
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*.action</url-pattern>
</filter-mapping>
如果<url-pattern>/*</url-pattern>就报
HTTP Status 404 - There is no Action mapped for namespace / and action name dwr.
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*.action</url-pattern>
</filter-mapping>
如果<url-pattern>/*</url-pattern>就报
HTTP Status 404 - There is no Action mapped for namespace / and action name dwr.
而且过滤器拦截 就写/*就可以
是可以的. 可能你的. 过滤器 路径 有点问题
struts.action.extension=do,action注意了