解决post请求中文乱码: request.setCharacterEncoding("UTF-8"); 解决响应中文乱码问题: response.setContentType("text/html;charset=UTF-8")