Sr.Java Web Developer Question:

Explain me what is the life-cycle of a servlet?

Sr.Java Web Developer Interview Question
Sr.Java Web Developer Interview Question

Answer:

There are 5 stages in the lifecycle of a servlet:

☛ Servlet is loaded
☛ Servlet is instantiated
☛ Servlet is initialized
☛ Service the request
☛ Servlet is destroyed


Previous QuestionNext Question
Tell us how do you keep yourself updated about the latest web technologies?Tell me what are the JDBC API components?