使用springmvc 拦截器的步骤: 1.定义拦截器 2.在springmvc.xml配置文件中注册拦截器 转载于:https://www.cnblogs.com/hwgok/p/8010924.html