Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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
destroy() method of servlets
when destroy method will call
what happend,when we call destroy() in service() method?
init and destroy method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013