在<mvc:interceptor>
<mvc:mapping path="">配置拦截的请求路径
<bean calss=""></bean>配置拦截器的所在路径
</mvc:intercepter>