Deploying WAR FILE in Microsoft Azure Web App

后端 未结 1 612
傲寒
傲寒 2021-01-19 13:52

I have created a Microsoft azure web app and configured java version 8 and tomcat latest available. As per their documentation , I have uploaded my WAR file to d:\\home\\sit

相关标签:
1条回答
  • 2021-01-19 14:09

    as documentation say :

    you can upload your application by placing your WAR in the webapps folder.

    in tomcat's webapp folder you copy war files, tomcat detects the presence of one of those files and unzip it to a folder corresponding to the name you chose for your file, so if you copy toto.war to

    $TOMCAT_HOME/webapps/

    after tomcat deployed your war file the folder will look like

    $TOMCAT_HOME/webapps/toto.war
    $TOMCAT_HOME/webapps/toto  (folder being the unzipped version of your file)
    

    ROOT folder is just a special case of that for the webapplication that is served without using a context.

    0 讨论(0)
提交回复
热议问题