Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Restarting ServletContext from within Servlet  RSS feed

 
J.H.B. Oosterlaar
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there a way to restart or re-initialize the ServletContext/webapplication from within the Servlet itself?
Thanks and cheers,
Jeroen
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat 4 has a manager application that will let you do that to a running Tomcat without disturbing other web applications but I don't think there is any call you can make from within the servlet itself. In the online Tomcat documentation go to the Manager App HOW-TO.
Bill
[ June 13, 2003: Message edited by: William Brogden ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!