标签:span get user 修改 connector name request prot 文件
1、修改tomcat的配置文件
<ConnectorURIEncoding="utf-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
2、后台代码处理
String userName = new String(request.getParamter("userName").getBytes("ISO8859-1"),"utf-8")
标签:span get user 修改 connector name request prot 文件
原文地址:https://www.cnblogs.com/suhfj-825/p/8893401.html