struts2 ,web.xml中配置为/*action,运行报错Invalid <url-pattern> /*action in filter

struts2 ,web.xml中配置为/*.action,运行报错Invalid url-pattern /*.action in filter mapp如题,我非得

struts2 ,web.xml中配置为/*.action,运行报错Invalid <url-pattern> /*.action in filter mapp
如题,我非得改为
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
  </filter-mapping>  
才行,为什么呀?

[解决办法]
写*.action
[解决办法]
filter知识没理解,容器只认 全名匹配,路径匹配,扩展名匹配.
/*.action 又是路径匹配,有时扩展名匹配. 容器没办法区分

建立学习了servlet,在学框架.