在tomcat的server.xml中添加如下代码
URIEncoding="utf-8"
1 <Connector port="8080" protocol="HTTP/1.1" 2 connectionTimeout="20000" 3 redirectPort="8443" URIEncoding="utf-8" useBodyEncodingForURI="true" />
posted on 2014-01-06 16:08 看天空的星星 阅读(378) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 看天空的星星 Powered by .NET 8.0 on Kubernetes