tomcat修改编码格式 在TOMCAT中的conf文件夹下server.xml中的 <Connector中添加两个设置useBodyEncodingForURI="true" //设置POST和GET使用相同编码URIEncoding="UTF-8" //对URI使用utf-8编码处理 如下: