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

What is the servletconfig object?

1045


How will two or three servlets interact or communicate with each other?

1450


How can the session in servlet can be destroyed?

1184


How to generate the server side programming and the advantages of it over the other languages?

1005


Why don't we write a constructor in a servlet?

1057


What are the life-cycle methods for a servlet?

1000


What are the uses of servlet

1181


Which method of the httpservletrequest object is used?

1098


How we can call a jsp from the servlet?

1011


Which event is fired at the time of session creation and destroy?

1395


What do you mean by scope object and what are its types?

1080


What is called a session?

1176


What are the difference between RMI and Servlets?

1567


Explain the working of service() method of a servlet.

968


What are the differences between the servletconfig interface and the servletcontext interface?

1193