微信扫一扫
主要区别:
接口规范不同:过滤器实现filter接口,拦截器实现handlerinterceptor接口;
拦截范围不同:过滤器拦截所有,interceptor只拦截spring中的资源。
相关推荐