我的网络应用程序的上下文是“/”,我的过滤器拦截了对它的请求(http://localhost:8080/)(我没想到它)。它是怎么发生的?
这是我的过滤器:
<filter>
<filter-name>authorizationFilter</filter-name>
<filter-class>com.sitech.ismp.util.context.AuthorizationFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>authorizationFilter</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>authorizationFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>authorizationFilter</filter-name>
<url-pattern>*.html</url-pattern>
</filter-mapping>