get方法傳送中文亂碼解決方法

找到tomcat配置文件 server.xmltomcat

找到<Connector port="8080" .......  />   (......爲配置文件中原來內容)server

在最後加上一句:  URIEncoding=GBK  以下:xml

<Connector port="8080" ......  URIEncoding=GBK />配置

相關文章
相關標籤/搜索