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 / mani

In the Servlet programming context, the destroy() method
can never be called by your code and is called by the
servlet container

Is This Answer Correct ?    23 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different mode that servlets can be used?

1004


What is the use of servletconfig interface?

1026


What do you mean by the servlet chaining?

1059


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

995


Which http method is said to be non-idempotent and idempotent?

1032


What do you mean by cgi in servlet?

1062


What is context in servlet?

1018


Which event is fired at the time of setting, getting or removing attribute from application scope?

1123


What is servlet initializer?

957


How servlet is created?

1181


Which is the methods of generated servlet?

1210


How does tomcat servlet container work?

1064


Is servlet thread safe?

972


How can a servlet be used to generate plain text instead of html?

936


Can we override destroy method in servlet?

978