拦截器跟过滤器的区别定义过滤器@WebFilter("/*")public class MyFilter implements Filter { @Override ...