当前位置:主页 > 软件编程 > JSP代码 >

jsp之间传参数接受中文有乱码问题解决方法

时间:2021-06-07 08:53:48 | 栏目:JSP代码 | 点击:

tomcat 的配置文件 server.xml里面找到:
复制代码 代码如下:

<Connector port="8080" protocol="HTTP/1.1"
maxThreads="150" connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8"/>

看看有没有 URIEncoding="UTF-8",没有的话加上试试

您可能感兴趣的文章:

相关文章