Explain the lifecycle of a servlet?



Explain the lifecycle of a servlet?..

Answer / Km Neeshu Chahal

A Servlet lifecycle consists of the following steps: (1) instantiation, (2) initialization, (3) service requests handling, and (4) destruction.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

What is the directory structure of web application?

1 Answers  


What is the difference between Servlets and Applets?

1 Answers  


What is the difference between forward () and sendredirect () functions in servlet? Explain

1 Answers  


How do we go with database connection and log4j integration in servlet?

1 Answers  


When to use doget() and when dopost()?

1 Answers  


What is the use of servlet wrapper classes?

1 Answers  


what is EJB and Java servlet

2 Answers  


Hi frnds iam new to Java Kindy any one can provide or me Servlets Example code and can explain to me flow of servlets and as Jsp and Struts and provide to me some sample example on these 3 topic flow,code example,and tutorials,and related websites which i can refer....thanks in advance..........

3 Answers  


What are the annotations used in servlet 3?

1 Answers  


What is httpservlet class?

1 Answers  


How many ways to remove the session object in the container

6 Answers   Bosch,


what are binding listners?

1 Answers  


Categories