1
Pins

JSP Life cycle | Techartifact

published 117 days, 23 hours, 6 minutes ago posted by vasantvasant 124 days, 15 hours, 31 minutes ago
Monday, January 23, 2012 10:29:50 AM GMT Monday, January 16, 2012 6:04:59 PM GMT

Life cycle of a JSP page consists of two phases, translation phase and execution phase. Every JSP is a Servlet, a JSP page is translated and compiled into servlet and the resulting servlet handles the request, So life cycle of a JSP page largely depends on the Servlet API.

JSP engine does the following 7 phases.

• Page translation: page is parsed, and a java file which is a servlet is created. • Page compilation: page is compiled into a class file • Page loading : This class file is loaded. • Create an instance : Instance of servlet is created • jspInit() method is called • jspService is called to handle service calls • jspDestroy is called to destroy it when the servlet is not req

Read more: http://www.techartifact.com/blogs/2012/01/jsp-life-cycle.html#ixzz1je5uyHMk

category: Java EE | clicked: 2 | | source: www.techartifact.com | show counter code
tags: JSP, lifecycle


To post comments using your Facebook,Twitter, Gmail etc credentials in the Discus comments section. Or use your Javapins credentials at the end of the page.
To post your comment as a Javapins user please login or signup to Javapins database.