Xss过滤

通过Filter,对request 和 response 进行处理

12-21
1.首先Filter的实现基础 @Override public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException { filterChain.doFilter(servletRequest, servletResponse); } 用户请求到达,经过Filter到后台