在doPost/doGet中添加 request.setCharacterEncoding("utf-8"); response.setContentType("text/html;Charset=utf-8");