这个标签注册自定义的拦截器或请求拦截器也可以拦截指定url路径
An example of registering an interceptor applied to all URL paths:
注册全部url到拦截器:
<mvc:interceptors>
<bean class="" />
</mvc:interceptors>
An example of registering an interceptor limited to a specific URL path:
注册指定url到拦截器:
<mvc:interceptors>
<mvc:interceptor>
<mapping path="/jsp/*"/>
<bean class="" />
</mvc:interceptor>
</mvc:interceptors>