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 i call init() method in destroy() method of servlset. ?

Answer Posted / arulmani

init()method will be called by the webcontainer with the
servlet object by passig the ServletConfig object,when the
servlet object will be created.

destroy()method will be called by the webcontainer when
servlet object will be destroyed

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we invoke another servlet in a different application?

1271


Which are the different ways you can communicate between servlets?

1055


What is the difference between context parameter and context attribute?

1127


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

1310


What are the advantages of Servlet over CGI?

1206


How the JSP file will be executed on the Server side?

1202


Differentiate between the web server and application server?

1109


What do you mean by default initialization in java servlet?

1144


Explain the difference between get and post method in servlet?

1197


What is the need of servlet filters?

1067


Why is Servlet so popular?

1122


How can the session in servlet can be destroyed?

1227


Where do you define dispatcherservlet?

1110


What is servlet in tomcat?

1104


What is servlet api used for conneting database?

1283