tomcat 造成的乱码原因与解决方案
只需在tomcat/conf/server.xml 中增加一句代码即可
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8"/>
只需增加红色语句,设置请求地址编码格式为UTF-8
只需在tomcat/conf/server.xml 中增加一句代码即可
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8"/>
只需增加红色语句,设置请求地址编码格式为UTF-8
暂无评论。
评论功能维护中,当前仅展示历史评论。