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 features added in Servlet 2.5?

1234


What is the difference between context parameter and context attribute?

1025


List out the difference between ServletConfig and ServletContext?

1030


What are the benefits of using servlet over cgi?

1029


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

1096


Why is a constructor needed in a servlet even if we use the init method?

1122


When servlet object is created?

1142


What is the default http method in the servlet?

1277


How can we achieve transport layer security for our web application?

1018


Explain jsessionid and when is it created?

1093


What is the difference between a generic servlet and http servlet?

979


Explain is servlet mapping?

994


What is a web container and what is its responsibility?

967


Define servlet mapping?

1146


What is servlet used for?

1132