从server.xml文件中添加<Context><Context>,其中docBase是实体路径,path是虚拟路径
tomcat的配置方式一
原文:https://www.cnblogs.com/sunstudy/p/13083982.html