tomcat URI get 参数中文传到后台 乱码 URIEncoding

* 修改tomcat server.xml

找到这一行

<Connector connectionTimeout="20000" port="80" protocol="HTTP/1.1" redirectPort="8443">

 

添加 URIEncoding="UTF-8"

<Connector connectionTimeout="20000" port="80" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="UTF-8"/>

  

posted @ 2018-08-06 14:18  zhanghui_ming  阅读(131)  评论(0编辑  收藏  举报