How to change the ROOT application?

后端 未结 13 1465
终归单人心
终归单人心 2020-11-22 16:16

I\'m trying to change the default application of a Tomcat 6 webserver to a different application than \"ROOT\" (inside webapps folder). What is the best way to do this?

13条回答
  •  没有蜡笔的小新
    2020-11-22 16:50

    You can do this in a slightly hack-y way by:

    1. Stop Tomcat
    2. Move ROOT.war aside and rm -rf webapps/ROOT
    3. Copy the webapp you want to webapps/ROOT.war
    4. Start Tomcat

提交回复
热议问题