jsp读取后台数据乱码,如图所示:
tomcat编码格式与项目不一致,找到config/server.xml修改为UTF-8
<Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
2022-12-29 18:58:14
jsp读取后台数据乱码,如图所示:
tomcat编码格式与项目不一致,找到config/server.xml修改为UTF-8
<Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>