web项目部署tomcat前后台传中文参数出现乱码

项目在tomcat部署后,前后台传中文参数出现乱码,如下图所示。

  • 打开tomcat目录下confserver.xml文件,如图所示位置添加 URIEncoding="UTF-8"

原文地址:https://www.cnblogs.com/chenjy1225/p/15150783.html