Servlet Life Cycle
Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 8273
Total Votes: 39 votes
Submitted on: 2014-03-22 10:32:09
Submitted By: Appu T
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 More detail...