jsp读取后台数据乱码,如图所示:

 jsp读取后台数据乱码

 

 tomcat编码格式与项目不一致,找到config/server.xml修改为UTF-8

jsp读取后台数据乱码

 

 <Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

 

相关文章:

  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-13
  • 2021-07-14
  • 2021-11-23
猜你喜欢
  • 2022-12-23
  • 2022-03-04
  • 2021-12-12
  • 2021-12-12
  • 2021-08-30
  • 2021-10-06
  • 2021-11-30
相关资源
相似解决方案