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...


Explain life cycle of a Servlet?

Answers were Sorted based on User's Feedback



Explain life cycle of a Servlet?..

Answer / janet

1. a server loads and initializes the servlet by init()
method.
2.the servlet handles zero or more client's requests
through service() method .
3. the server removes the servlet through destroy() method.

Is This Answer Correct ?    9 Yes 1 No

Explain life cycle of a Servlet?..

Answer / venky

the object of servlet is created in the init mehod by server

request of the client is processed in service method

the servlet is discarded from thr server by destroy method

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Servlets Interview Questions

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

0 Answers  


Explain url encoding in servlet?

0 Answers  


Why servlet is used as controller ? Not JSP? I want complete explation?

0 Answers   Tech Mahindra,


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

0 Answers  


i have class files in class folder. but i have no java files. but i want to modify the java files which are related to class files . how ?

5 Answers   TCS,


What is the role of the webserver?

4 Answers  


How native code can be used in a servlet?

0 Answers   IBM, TCS,


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

0 Answers  


Explain url encoding?

0 Answers  


Explain how to improve Servlet Performance?

0 Answers   BirlaSoft,


How printwriter is different from servletoutputstream?

0 Answers  


How will you open a new page after certain interval of time (5 sec), on clicking of a button in an html page?

2 Answers  


Categories