Tomcat配置常见问题 发表于 2017-09-20 更新于 2023-10-22 阅读次数: 本文字数: 258 阅读时长 ≈ 1 分钟 请求乱码需要在conf/server.xml中添加URIEncoding='UTF-8' 12<Connector port='8080' protocol='HTTP/1.1' connectionTimeout='20000' redirectPort='8443' URIEncoding='UTF-8' /> Tomcat请求回复体的缺省字符集编码是ISO-8859-1 官方字符编码介绍