Spring mvc 拦截器bug
程序员文章站
2022-05-10 13:09:59
...
<!-- 拦截器 -->
<mvc:interceptors>
<bean class="com.systoon.commonsearch.service.interceptor.DefaultInterceptor"/>
<bean class="com.systoon.commonsearch.service.interceptor.TimestampInterceptor"/>
<bean class="com.systoon.commonsearch.service.interceptor.AccessSecretInterceptor"/>
<bean class="com.systoon.commonsearch.service.interceptor.PermissionsActionInterceptor"/>
</mvc:interceptors>
这样配置拦截器,第一个拦截永远无法访问