乱码的原因:编解码的字符集不一致 //接收Client发送的数据 request.setCharacterEncoding(“GBK”); response.setCharacterEncoding(“GBK”);