首先统一编码:数据库,jsp文件,request,response等等,都设置为utf-8
修改$TOMCAT_HOME/config/server.xml
<Connector port="8080"redirectPort="8443"
debug="0" connectionTimeout="20000" useBodyEncodingForURI="true"
disableUploadTimeout="true" URIEncoding=”UTF-8”/>
添加
URIEncoding=”UTF-8”