tomcat解决页面乱码

修改${tomcatinstallhome}/conf/server.xml

         <Connector port="8090" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="GBK"/>

         URIEncoding="GBK"是需要添加修改的部分。
         修改完毕后,重新启动cnoss的tomcat

你可能感兴趣的:(tomcat,xml)