package xkng.config; import javax.servlet.*; import javax.servlet.annotation.WebFilter; import java.io.IOException; @WebFilter("/*") public class AFilter implements Filter { @Override public void init(FilterConfig filterConfig) throws ServletException { } @Override public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException { //中文过滤 servletRequest.setCharacterEncoding("UTF-8"); servletResponse.setContentType("text/html;charset=UTF-8"); filterChain.doFilter(servletRequest, servletResponse); } @Override public void destroy() { } }

weilaizhisheng LV21
2023年10月10日
微信网友_6508798513811456 LV5
2023年6月9日
996171721 LV7
2023年5月31日
1755754535 LV5
2022年12月27日
wwb521 LV7
2022年11月18日
微信网友_6191697646571520 LV6
2022年10月28日
15904867178 LV4
2022年7月12日
zhangjian01 LV7
2022年4月26日
119892537 LV8
2022年4月18日
huaiyuejiu LV9
2022年4月14日

Phoebe_HUI LV5
1月14日
梁小贤 LV1
2024年12月6日
hmf1989
2024年8月23日
暂无贡献等级
15719908287 LV9
2024年6月19日
ma406805131 LV19
2024年6月15日
80730176 LV7
2024年3月20日
weilaizhisheng LV21
2023年10月10日
zhumeng168 LV5
2023年7月6日
119892537 LV8
2023年6月14日
微信网友_6508798513811456 LV5
2023年6月9日