Start / stop a web application from itself?

前端 未结 3 1820
故里飘歌
故里飘歌 2020-12-16 23:13

I\'ve made a web application using Java, Struts and running over Apache Server and Tomcat. It would be very useful to be able to restart the application from the web. I don\

3条回答
  •  自闭症患者
    2020-12-16 23:43

    Just hit the URLs

    http://:@:/manager/stop?path=/ 
    

    to stop and

    http://:@:/manager/start?path=/ 
    

    to start. That simulates you using the manager application.

提交回复
热议问题