public class AllCharacterEncoding implements Filter {
private FilterConfig filterconfig;
private String defaultencoding="UTF-8";
public void init(FilterConfig filterconfig) throws ServletException {
this.filterconfig=filterconfig;
}
public void doFilter(ServletRequest req, ServletResponse resp,
FilterChain chain) throws IOException, ServletException {
|
|