异常处理几则(javac异常与get请求中文乱码)
URIEncoding="UTF-8"
?之后重启tomcat;问题解决。
?
虽然解决,还是不建议使用get请求传递中文参数。
?
查看$TOMCAT_HOME/webapps/tomcat-docs/config/http.html这个说明文档,有如下说明:?
URIEncoding:This specifies the character encoding used to decode the URI bytes, after %xx decoding the URL. If not specified, ISO-8859-1 will be used.
?
?
?