What is the life cycle of a servlet?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

831


What are the phases of servlet life cycle?

813


Differentiate between the web server and application server?

763


Why do we need servlet filter?

769


How a servlet is unloaded?

794


Why do you use session tracking in httpservlet?

836


Which java application server is the best?

758


What is the difference between the include() and forward() methods?

792


How do I support both get and post from the same servlet?

937


Difference between doget and dopost?

906


Why servlet is faster than jsp?

762


Explain the difference between servletconfig and servletcontext in servlet?

772


What is servlet instance?

753


Explain the difference between generic servlet and http servlet?

735


Explain the architechure of a servlet?

827