对于doPost. request.setCharacterEncoding("utf-8"); 对于doGet 手动解码 value=new String(value.getBytes("iso-8859-1","utf-8"));