首页 » Tomcat » 正文

一个war包配置两个应用名称

server.xml

1
2
       <Context path ="/test1" docBase ="test" debug ="0" reloadbale ="true"/>
       <Context path ="/test2" docBase ="test" debug ="0" reloadbale ="true"/>

context.xml

……

http://stackoverflow.com/questions/11721966/how-can-i-map-multiple-contexts-to-the-same-war-file-in-tomcat

http://blog.csdn.net/yuanxuegui2008/article/details/6056754

http://blog.csdn.net/fuleidemo/article/details/48133619