Tomcat7:
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
這個(gè)參數(shù)用來(lái)設(shè)置解碼url參數(shù),如果沒(méi)指定,默認(rèn)是ISO-8859-1。
Tomcat8:
URIEncoding
This specifies the character encoding used to decode the URI bytes, after %xx decoding the URL. If not specified, UTF-8 will be used unless the org.apache.catalina.STRICT_SERVLET_COMPLIANCE system property is set to true in which case ISO-8859-1 will be used.
這個(gè)參數(shù)用來(lái)設(shè)置解碼url參數(shù),如果沒(méi)指定,默認(rèn)是UTF-8,除非設(shè)置了org.apache.catalina.STRICT_SERVLET_COMPLIANCE這個(gè)系統(tǒng)參數(shù)為true,這個(gè)時(shí)候會(huì)使用ISO-8859-1。