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

后端 未结 6 2050
没有蜡笔的小新
没有蜡笔的小新 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:03

    A name of a war file has nothing to do how the project is presented by the container - it's just a matter of configuration and by default containers presents context path as a file name.

    And using ROOT.war is just a silly trick, read about Context configuration in Tomcat (I have assumed you are using Tomcat)

    http://tomcat.apache.org/tomcat-7.0-doc/config/context.html

提交回复
热议问题