File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
destroy( ) method
Joined: Jan 18, 2001
May 18, 2004 02:10:00
What happens if I call destroy( ) when init( ) is called ??
Joined: Mar 18, 2004
May 18, 2004 03:14:00
Nothing will happen. destroy() is called by the container when
is going to destroy. It is the place provided to the developer to cleanup the resources used.
subject: destroy( ) method
what happens if i call destroy() method in init() or service() method ?
Clarify Servlet life cycle
Call destroy() inside init()
destroy() method of servlet.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015