Your container doesn’t use UTF-8 to decode URLs. If you use non-ASCII characters as a job name etc, this will cause problems. See Containers and Tomcat i18n for more details.
设置tomcat编码
编辑server.xml,添加一行
URIEncoding=”UTF-8″
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
重启tomcat
原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/3714.html