post :
request.setCharacterEncoding("utf-8")
在web.xml配置过滤器get :
new String(aa.getByte("iso-8859-1"),"utf-8") 进行编解码
或者修改tomcat下面的server.xml 中
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
添加:URIEncoding="UTF-8"