方法一:
接收到的参数进行如下操作【不建议】:
String tmp = new String(type.getBytes("iso-8859-1"), "utf-8")
方法二:tomcat 配置文件设置URIEncoding="utf-8"
<Connector connectionTimeout="20000" port="8087" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="UTF-8"/>