Tomcat6 -> how to put a project into the root folder?

前端 未结 1 1492
耶瑟儿~
耶瑟儿~ 2021-01-14 07:29

I have a Tomcat6 server on a Linux server. The structure of the webapps directory is:

  • examples
  • host-manager
  • manager
  • ROO
1条回答
  •  我在风中等你
    2021-01-14 07:56

    Delete ROOT folder, rename MyProject.war to ROOT.war and restart.

    You can also do it by adding the following line to inside the entry of /conf/server.xml

    
    

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