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 to notify an object in session when session is invalidated or timed-out?

1029


Write a program to show the functionality of servlets.

965


Explain the steps involved in placing a servlet within a package?

989


What are the ways to handle multi-threading in servlets?

1021


How the typical servlet code look like ?

1136


Where do you define dispatcherservlet?

987


Explain the lifecycle of a servlet?

909


Write a command to get actual path of a servlet to the server?

969


What do you mean by cgi in servlet?

1023


What do you mean by servlet context?

1057


Difference between forward() method and sendredirect() method ?

981


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

1079


Which application server is best for java?

1020


What is Request Dispatcher?

1361


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

1110