How to deploy war files into cPanel and remove the project name?

后端 未结 6 2089
没有蜡笔的小新
没有蜡笔的小新 2021-01-24 00:23

I need to run my Java application on cPanel. I have successfully installed Tomcat,

I can run my application by copying war file into my

6条回答
  •  情深已故
    2021-01-24 01:22

    There's several ways to set the application root context in tomcat. All of them described in the documentation of the server. Here's another one

    Modify tomcat_home\conf\server.xml. Under the tag put

    
    

    where you put yourappname.war in the webapps folder reflecting appBase attribute of the tag.

    Save, restart the server.

提交回复
热议问题