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 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different session tracking techniques?

1198


How do you run a servlet?

1061


Explain servlet life cycle?

1133


How to handle exceptions thrown by application with another servlet?

1091


What do you mean by url pattern in servlet?

1114


How we can create war file in servlet?

1130


What is a java servlet?

1094


How httpservlet is different from the genericservlet?

1128


What do you understand by mime type?

996


Why the container loads server at the application startup and how?

1065


How can you use a servlet to generate a plain text instead of html?

1135


What are the objects involved when a servlet receives a call from client?

1036


What do you mean by filter in servlet?

1010


What are advantages of servlets over cgi?

1114


What’s the difference between genericservlet and httpservlet?

1115