//设置响应编码要在设置响应对象之前
response.setCharacterEncoding("utf-8");
response.setContentType("text/html; charset=UTF-8");
PrintWriter out=response.getWriter();``
编码小问题
最新推荐文章于 2023-10-27 23:16:18 发布
//设置响应编码要在设置响应对象之前
response.setCharacterEncoding("utf-8");
response.setContentType("text/html; charset=UTF-8");
PrintWriter out=response.getWriter();``