Sr.Java Web Developer Question:

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

Tweet Share WhatsApp

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

Download Sr.Java Web Developer PDF Read All 64 Sr.Java Web Developer Questions
Previous QuestionNext Question
Tell us how do you keep yourself updated about the latest web technologies?Tell me what are the JDBC API components?