Deploying my application at the root in Tomcat

后端 未结 10 1784
说谎
说谎 2020-11-22 06:25

I have the war file of my application. I need to deploy this at the root level. The current URL is http://localhost:8080/war_name/application_name.

10条回答
  •  逝去的感伤
    2020-11-22 07:22

    In tomcat 7 with these changes, i'm able to access myAPP at / and ROOT at /ROOT

    
         
         WEB-INF/web.xml
    
    
         
         WEB-INF/web.xml
    
    

    Add above to the section in server.xml

提交回复
热议问题