POST在这里插入代码片 request.setCharacterEncoding("UTF-8"); GET name=new String(name.getBytes("ISO8859-1"),"UTF-8"); Servlet response.setContentType("text/html;charset=utf-8");