A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
what happend,when we call destroy() in service() method?
destroy() method of servlets
when destroy method will call
init and destroy method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014