aspose file tools*
The moose likes Servlets and the fly likes servlet closing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet closing" Watch "servlet closing" New topic
Author

servlet closing

akalanka de silva
Greenhorn

Joined: Sep 14, 2004
Posts: 18
hello everybody
does any kind of method have to invoke the servlet of the server ending
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

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.


Groovy
akalanka de silva
Greenhorn

Joined: Sep 14, 2004
Posts: 18
hey i want to method that invoke if we shutdown the tomcat server
Neeraj Dheer
Ranch Hand

Joined: Mar 30, 2005
Posts: 225
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

Joined: Dec 11, 2004
Posts: 13410

Are you saying you want to be able to stop the tomcat server from a webpage?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet closing
 
Similar Threads
How can I change the sdk version of Websphere 4 if I already install it
javascript, servlets and SVG
Export in Excel
Capturing Form Data
Is there any way to get Servlet Init Parameter using EL?