LoginFilter.java if(request.getCharacterEncoding()==null) { request.setCharacterEncoding(encoding); System.out.println("in doFilter,encoding="+encoding); cha
myfilter.java public void init(FilterConfig filterConfig) throws ServletException { encoding=filterConfig.getInitParameter("encoding"); System.out.println("in init,