处理静态资源的handler和处理Controller请求中的handler不同,对应的Interceptor也不同
查找对应handler是在DispatcherServlet中
因此一些自定义的Interceptor,默认不会对静态资源进行拦截
处理静态资源的handler和处理Controller请求中的handler不同,对应的Interceptor也不同
查找对应handler是在DispatcherServlet中
因此一些自定义的Interceptor,默认不会对静态资源进行拦截
转载于:https://www.cnblogs.com/yszzu/p/9446015.html