SpringMVC框架中的拦截器
(尊重劳动成果,转载请注明出处:https://blog.youkuaiyun.com/qq_39778516/article/details/83932239 consistencely的博客)
1. 拦截器的概述
2. 自定义拦截器步骤
1.创建类,实现HandlerInterceptor接口,重写需要的方法
2. 在springmvc.xml中配置拦截器类
3. HandlerInterceptor接口中的方法
4.配置多个拦截器