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

How do you communicate in between Applets and Servlets?

1070


Which exception is thrown if the servlet is not initialized properly?

1030


What's the architecture of a servlet package?

1058


Tell the new features added in servletrequest interface i.e. Servlet 2.4

1174


What is the use of servlet wrapper classes?

1189


What is difference between server and servlet?

1098


What are the disadvantages of storing session state in cookies?

1154


What is the use of request dispatcher interface?

1016


What is the importance of init() method in Servlet ?

1086


What is servlet container. how it works?

1138


What is meant by session? Tell me something about httpsession class?

1036


What are the different mode that servlets can be used?

1022


What is Servlets and explain the advantages of Servlet life cycle?

1111


In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify

1008


How is an application exception handling is done using a servlet?

1022