1.解决get方式部分中文乱码问题:URIEncoding="UTF-8"

2.修改端口号:Connector port="18080"
3.修改tomcat的项目部署配置虚拟目录:Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"
其中appBase可自定义修改如:

1.解决get方式部分中文乱码问题:URIEncoding="UTF-8"
2.修改端口号:Connector port="18080"
3.修改tomcat的项目部署配置虚拟目录:Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"
其中appBase可自定义修改如:
本文标题:整理Tomcat 配置文件server.xml
本文链接:https://www.haomeiwen.com/subject/xlhalftx.html
网友评论