How to set the context path of a web application in Tomcat 7.0

后端 未结 13 1343
傲寒
傲寒 2020-11-21 23:34

I know that I can rename my webapp (or it\'s WAR file) to ROOT but this is a terrible way to do it, IMHO. Now I checked out the tomcat doc & it says

13条回答
  •  花落未央
    2020-11-21 23:53

    Quickest and may be the best solution is to have below content in /conf/Catalina/localhost/ROOT.xml

    
    

    And your webapp will be available at http://:/

提交回复
热议问题