What is the life cycle of a servlet?



What is the life cycle of a servlet?..

Answer / hrindows@gmail.com

Loading Servlet.
Then initialising the Servlet.
Handling the Request (invoking service method).
Then destroying the Servlet.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

give the syntax of doGet() and doPost()?

2 Answers  


What mechanisms are used by a Servlet Container to maintain session information?

0 Answers  


Which method the Servlet container call to create the instance of the servlet?

16 Answers   emc2, JK Technosoft,


Does servlet have main method?

0 Answers  


What is done after deploying a war file and before client gives a request

2 Answers   Bosch,






How does Cookies work in Servlets?

0 Answers  


Why is a constructor needed in a servlet even if we use the init method?

0 Answers  


how to use servlets with j2ee ?

2 Answers   Tech Mahindra,


What is called Scriptlet?

0 Answers  


Explain the working of service() method of a servlet.

0 Answers  


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

0 Answers  


Can servlet have a constructor ?

0 Answers  


Categories