tomcat 修改默认字符集

找到connector节点,插入

 disableUploadTimeout="true" useBodyEncodingForURI="true" URIEncoding="UTF-8" 即可,如下

 

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

 

posted @ 2016-07-21 16:56  rj_bian  阅读(2995)  评论(0编辑  收藏  举报