utf-8编码格式用tomcat-6.0.18部署之后页面显示全是乱码。
解决方法:
配置tomcat的server.xml 在下面两个地方加:URIEncoding="UTF-8"
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000"redirectPort="8443"
URIEncoding="UTF-8" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"
URIEncoding="UTF-8"/>
tomcat-6.0.18 UTF-8 编码,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/haomad/p/3741721.html