配置某個方法的攔截器攔截不到
?<mvc:interceptors>
? ? <mvc:interceptor>
? ? ???????? <mvc:mapping path="/userName.action"/>
? ????????? <bean class="com.fcy.web.interceptor.TestInterceptor"></bean>
? ? </mvc:interceptor>
</mvc:interceptors>
我直接這樣配置,想只攔截userName.action這個方法,但是請求時就是攔截不到
2016-12-25
web.xml ?里面的DispatcherServlet有配置.action的后綴嗎
2016-12-14
同樣的問題,請問怎么解決的?
2016-09-15
你訪問的時候訪問的是userName.action還是訪問的userName?