filter拦截tomcat的默认访问路径

http://localhost:8080 可以访问到我的项目
index.jsp
我想拦截http://localhost:8080这个请求 filter的url-pattern的应该怎么设置
或者有没有其他的办法 不想用/*来拦截所有请求

我是想问怎么才能拦截到http://localhost:8080这个请求


index.html
index.htm
index.jsp
default.html
default.htm
default.jsp
</welcome-file-l
把这去掉
http://localhost:8080 可以就访问不到你的项目index.jsp

你把web.xml里默认的配置去掉看看