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

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

    If you can't edit server.xml , Then you can delete ROOT.war and rename your war file to ROOT.war or just extract your .war file to a directory name ROOT.
    Next time you open your site ex - www.example.com , index.jsp will be shown to you.
    I have done the same for my site at Openshift which provides free PAAS service

提交回复
热议问题