Servlet Life Cycle

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Servlet Life Cycle - Java Tutorials Corner

Statistics

  • Total Hits - 27097

  • Total Votes - 76 votes

  • Vote Up - 46 votes

  • Vote Down - 30 votes

  • Domain - www.javatutorialcorner.com

  • Category - JAVA/J2EE

  • Submitted By - Appu T

  • Submitted on - 2014-03-22 10:32:09

Description

The life cycle of a servlet is controlled by the container in which the servlet has been deployed. When a request is mapped to a servlet, the container performs the following steps. 1. If an instance of servlet does not exist, the web container Loads the servlet class. Create instance of the servlet class. Initializes the servlet instance by calling the init method. 2. Invoke the service method, passing a request and response object, 3. - See more at: http://www.javatutorialcorner.com/search/label/servlet ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements