1. 修改 tomcat 配置文件 service.xml <!-- 添加属性URIEncoding="utf-8"可以解决get乱码问题 需要重启--> <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="utf-8" /> 2.对参数进行重新编码 String(Request.getParameter(“entity”).getBytes(“ISO8859-1”), “utf-8”);