Tomcat mapping context via server.xml

后端 未结 4 1511
耶瑟儿~
耶瑟儿~ 2021-02-08 11:07

I created a war and deployed it to my $CATALINA_HOME/webapps folder just fine. Then I wanted to test configuring it to point to a war at an arbitrary location such as c:\\tmp\\

4条回答
  •  感情败类
    2021-02-08 11:31

    If you want to have a site available at http://myhost:8080/myTestContext, put the following in $Catalina_home$/conf/localhost/whateveryoulike.xml

    
        
        
    
    

提交回复
热议问题