servlet life cycle?

Answer Posted / rajshri

servlet life cycle..
1) loading of class
2) instantiation of that loading class
3) call init() method
4) call service() method
5) call destroy() method

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by singlethreadmodel interface?

582


What are the new features added to servlet 2.5?

595


How do you run a servlet?

546


How can we invoke another servlet in a different application?

709


What is Request Dispatcher?

806






How we can get ip address of client in servlet?

544


What is the use of request dispatcher interface?

571


What do you mean by web applications? Explain web application directory arrangement?

542


Explain servlet.

572


Which exception is thrown if the servlet is not initialized properly?

594


What is the difference between forward () and sendredirect () functions in servlet? Explain

551


How to rectify errors in java servlet while compilation?

523


What is meant by cookies?

615


What is the element?

590


Why do we have servlet listeners?

602