Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet closing

 
akalanka de silva
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everybody
does any kind of method have to invoke the servlet of the server ending
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by akalanka de silva:
hello everybody
does any kind of method have to invoke the servlet of the server ending


I havent understood. Could you explain more please.
 
akalanka de silva
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey i want to method that invoke if we shutdown the tomcat server
 
Neeraj Dheer
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you want the name of the servlet method invoked when the server shuts down or servlet is destroyed, the method is destroy()
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you saying you want to be able to stop the tomcat server from a webpage?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic