http://hi.baidu.com/atell/item/522112d3db45081fd90e44e1
struts2中配置为
<url-pattern>/*</url-pattern>
springmvc中
关于web.xml的url映射的小知识:
<url-pattern>/</url-pattern> 会匹配到/login这样的路径型url,不会匹配到模式为*.jsp这样的后缀型url
<url-pattern>/*</url-pattern> 会匹配所有url:路径型的和后缀型的url(包括/login,*.jsp,*.js和*.html等)
否则会出错。