1、Tomcat的服务器支持中文的网页名
在没有指定URIEncoding的情况下,Tomcat根据servlet规范默认编码ISO-8859-1编码地址,可以在server.xml中指定
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1"
redirectPort="8443" URIEcoding="UTF-8"/>
,之后Tomcat会使用UTF-8编码地址
1、Tomcat的服务器支持中文的网页名
在没有指定URIEncoding的情况下,Tomcat根据servlet规范默认编码ISO-8859-1编码地址,可以在server.xml中指定
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1"
redirectPort="8443" URIEcoding="UTF-8"/>
,之后Tomcat会使用UTF-8编码地址
转载于:https://my.oschina.net/u/2268567/blog/828505