web.xml删掉就能用,不删404,什么原因,tomcat映射问题?

![图片说明!

<?xml version="1.0" encoding="UTF-8"?>

ssh_demo4

index.jsp


struts2

org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter



struts2
/*



org.springframework.web.context.ContextLoaderListener



struts2_1
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter


struts2_1
*.action

这WEB.XML

图片说明

两个struts2过滤器?为什么要这么配置?

即便你要拦截不同的地址。一个/* ,一个*.action
只要你配置多个url pattern 就行了,干嘛要配两个struts2过滤器?