Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we call destroy() method inside the init() method? What
happens when we do so?

Answer Posted / ravikiran

a call to the destroy method will happen and the resources
will be released and the flow will continue as it is and
will throw an exception if the released resource is used
indie the service method call.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How printwriter is different from servletoutputstream?

1062


How to rectify errors in java servlet while compilation?

1005


What are the advantages of cookies?

1174


How a servlet is unloaded?

1133


If some new data has entered the database, explain how can a servlet refresh automatically?

1349


When Servlet is unloaded?

1144


What is session tracking?

1264


What is meant by cookies?

1135


What is the directory structure of web application?

1035


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

1146


Why do we need servlet filter?

1108


What do you mean by cgi and what are its drawbacks?

1027


What is servlet mapping?

1078


What is api in servlet?

1072


how the HTML data stored in web server?

2689