tomcat8 与tomcat7的区别

tomcat8 的优点,与tomcat7的区别,在项目中同样的代码为什么使用这两个版本容器中运行,tomcat7运行出现模糊中文查询之后,关键字变乱码

tomcat的server.xml里面是否指定的编码格式?你也设置为utf-8试试吧

XML里面改一下编码方式

参考官方发布日志吧:、

tomcat 7
http://tomcat.apache.org/tomcat-7.0-doc/changelog.html

tomcat 8

http://tomcat.apache.org/tomcat-8.0-doc/changelog.html#Tomcat_8.0.24_(markt)