现在的位置: 首页 > 综合 > 正文

解决tomcat URL编码问题的方法

2017年12月26日 ⁄ 综合 ⁄ 共 272字 ⁄ 字号 评论关闭

解决tomcat URL编码问题的方法:

在D:\tomcat\conf\server.xml 中

<Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443">

加上

  <Connector port="8080" protocol="HTTP/1.1"

               connectionTimeout="20000"

               redirectPort="8443"
URIEncoding="UTF-8"
/>

一共有两处

抱歉!评论已关闭.