maven启动 get提交乱码
-Dmaven.tomcat.uriEncoding=UTF-8 tomcat7:run
修改启动参数:
部署在Tomcat时
修改conf/server.xml
<Connector URIEncoding="UTF-8" port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />