A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
calling destroy in init method
Joined: Sep 04, 2003
Aug 10, 2004 02:00:00
under what circumstances can i call destroy method from init.shud we call??
Joined: Jul 07, 2004
Aug 10, 2004 02:52:00
First of all is there any specific reason to call destroy method in the init method?
destroy method is normally used for freeing the resources held by the
. So even if we call the destroy method from init, it will not destroy the object.
Kalai Selvan T.
I agree. Here's the link:
subject: calling destroy in init method
init and destroy method
when destroy method will call
what happend,when we call destroy() in service() method?
destroy() method of servlets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014