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 kinds of http requests?

1094


What are the types of servlets? Explain

1327


What do you understand by mime type?

1030


What's the use of servletcontext?

1192


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

1210


What is the difference in between the httpservlet and generic servlet?

1180


What is SingleThreadModel interface?

1203


Write all the phases defined in servlet life cycle?

1244


Define the life cycle of a servlets.

1119


what do you understand by url rewriting?

1006


Write a simple servlet program to print the contents of html.

1111


Can you call a jsp from the servlet?

1065


When a servlet accepts a call from a client, it receives two objects. What are they?

1302


What is servlet attributes and their scope?

1100


What is servlet and its advantages?

1102