配置方式 配置方式 配置文件位置 特点 修改server.xml文件 /conf/server.xml 适用于单个Tomcat部署多个项目,需重启服务器。 添加XML配置文件 /conf/Catalina/localhost 适合不定期增删目录访问,……