//处理请求乱码request.setCharacterEncoding("utf-8");//处理响应乱码response.setContentType("text/html;charset=utf-8");