此种方法保证在Tomcat和Weblogic下都不会产生乱码1、<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/> 更改tomcat编码,tomcat默认为iso-8859-12、web.xml 配置spring 编码<filter><filter-name>encodingFilter< Read More
posted @ 2011-11-16 15:17 七郎 Views(3368) Comments(0) Diggs(0) Edit