A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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.
Have you checked out
subject: calling destroy in init method
init and destroy method
what happend,when we call destroy() in service() method?
when destroy method will call
destroy() method of servlets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015