jsp读取后台数据乱码,如图所示:
tomcat编码格式与项目不一致,找到config/server.xml修改为UTF-8
<Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
原文地址:https://www.cnblogs.com/zhaoyanhaoBlog/p/10878878.html
时间: 2025-01-18 03:47:06