修改tomcat默认编码

修改tomcat默认编码

打开server.xml

<Connector port="80" protocol="HTTP/1.1"  maxThreads="300" minSpareThreads="100" maxSpareThreads="300" 
    acceptCount="300"  redirectPort="8443" connectionTimeout="20000" URIEncoding="gbk"/>

 

你可能感兴趣的:(tomcat)