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 / ashwin kumar j

Yes you can call a destroy() method in init() method, but
remember destroy() method will behave like normal method
but not as life-cycle method.

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain is servlet mapping?

1058


request parameter how to find whether a parameter exists in the request object?

1059


What are the advantages of Servlet over CGI?

1200


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

1097


What is difference between PrintWriter and ServletOutputStream?

1350


What's the servlet interface?

1122


What is context in servlet?

1092


Why do we have servlet filters?

1074


Why doesn’t a servlet include main()?

1100


What are the new features added to servlet 2.5?

1153


When servlet object is created?

1225


how many jsp scripting elements are there and what are those?

1062


How can the session in servlet can be destroyed?

1219


What is servlet container?

1159


Why jsp is better than servlet?

1076