使用spring get方式,向后台传递参数的时候,出现乱码,网上搜索了好久,最后发现原因是server.xml中默认的配置有问题,修改如下就正确了,图片:

 spring mvc get方式乱码

文本信息:

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

 

相关文章:

  • 2021-09-17
  • 2022-02-05
  • 2022-02-08
  • 2022-02-15
  • 2021-08-31
  • 2021-06-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2020-10-17
  • 2022-12-23
  • 2021-06-21
相关资源
相似解决方案