Tomcat配置常见问题 发表于 2017-09-20 更新于 2021-10-23 本文字数: 225 阅读时长 ≈ 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 官方字符编码介绍 ☕️请我喝杯咖啡 微信支付 PayPal