servlet life cycle?

Answer Posted / sanpar

the life cycle of the servlet:

Servlet class is loaded.
Servlet instance is created.
init method is invoked.
service method is invoked.
destroy method is invoked.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the methods of generated servlet?

676


What is a deployment descriptor?

593


What is cgi?

594


What is ServletContext object?

641


What is cookie in servlet?

591






Explain the different ways for servlet authentication?

528


How do you define a servlet?

523


How servlet is created?

540


What is generic servlet class?

596


How to rectify errors in java servlet while compilation?

515


How can we refresh automatically when new data is entered into the database?

595


What is the use of servletconfig interface?

552


Servlet is pure java object or not?

719


What is the use of send redirect () method?

586


What's the architecture of a servlet package?

556