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

Why do you use session tracking in httpservlet?

645


What is servlet mapping?

605


What's the advantages using servlets than using cgi?

562


What are different Authentication options available in Servlets.

573


Define declaration.

626






What is the major difference between servlet and applet?

549


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

555


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

587


Explain request dispatcher and its methods.

595


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

626


How is a servlet implemented in code?

574


What do you mean by servlet context?

610


Explain servlet life cycle?

625


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

557


List out the difference between ServletConfig and ServletContext?

615