项目编译时中文乱码解决

项目编译时中文乱码解决:
1.tomcat 5.5
修改get乱码 tomcat下 conf 下server.xml中的

    port="8080"               maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="gbk"/>
添加URIEncoding="gbk;

2.tomcat 6
                   connectionTimeout="20000"
               redirectPort="8443" URIEncoding="UTF-8"/>

你可能感兴趣的:(技术文章,tomcat)