修改tomcat默认编码 在tomcat server.xml中,<Connector />中添加: (1) useBodyEncodingForURI="true" //设置POST和GET使用相同编码(2) URIEncoding="UTF-8" //对URI使用utf-8编码处理