1. 程式人生 > >apache+tomcat的亂碼解決

apache+tomcat的亂碼解決

修改tomcat下conf\server.xml檔案

將<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"   />

修改為

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"  
useBodyEncodingForURI="true" URIEncoding="UTF8" />