What is the life cycle of Servlet?

Answer Posted / yogesh mudgil

The life cycle of a Servlet refers to the different phases
including its creation to its destroying.The different
phases of the life cycle of Servlet are:
1).Create Servlet
2).Create Instance
3).init()
4).service()
5).doget()/dopost()
6).destroy()

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is methodological framework?

670


Does list allow duplicates in java?

607


How are this() and super() used with constructors in java programming?

664


What methods are used in Servlet?Applet communication?

1773


What is outofmemoryerror in java?

655






can used Protected Class outside Function.?

706


Can we use catch statement for checked exceptions?

626


What is the epoch date?

659


Why is logger singleton?

650


Why are variables important in research?

639


Why static functions are used?

657


What are the advantages of java inner classes?

644


What is the difference between object oriented programming language and object based programming language?

638


What are the differences between c++ and java?

673


According to java operator precedence, which operator is considered to be with highest precedence?

686