ITeye博客

tomcat乱码解决

g21121 · 2012-04-09 14:32 · 企业架构 · Markdown

在conf/server.xml文件中增加" useBodyEncodingForURI="true"配置
增加前:

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

 增加后:

<Connector  port="8080" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true"/>  

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。