Filter是属于Servlet的,Filter可以在Servlet容器执行前后进行预处理和后处理。https://blog.csdn.net/dshf_1/article/details/81112595
Interceptor是属于Spring的,分为HandlerInterceptor(请求)和MethodInterceptor(方法),而且是在Servlet容器内部执行。
Filter是属于Servlet的,Filter可以在Servlet容器执行前后进行预处理和后处理。https://blog.csdn.net/dshf_1/article/details/81112595
Interceptor是属于Spring的,分为HandlerInterceptor(请求)和MethodInterceptor(方法),而且是在Servlet容器内部执行。
转载于:https://my.oschina.net/u/2308196/blog/3023013