SpringMvc 里面拦截器是怎么写的

答案解析

实现HandlerInterceptor接口,重写preHandle、postHandle等方法,并在配置类或xml注册。