what is the life cycle of an JSP?

March 10, 2007 12:22am CST
Wht is life cycle of an JSP ?
2 responses
@deepakchp (341)
• India
3 May 07
the lifecycle of jsp is end when the code is corrupted
• India
27 Apr 07
A JSP page services requests as a servlet. Thus, the life cycle and many of the capabilities of JSP pages (in particular the dynamic aspects) are determined by Java Servlet technology and much of the discussion in this chapter refers to functions described in Chapter 10. When a request is mapped to a JSP page, it is handled by a special servlet that first checks whether the JSP page's servlet is older than the JSP page. If it is, it translates the JSP page into a servlet class and compiles the class. During development, one of the advantages of JSP pages over servlets is that the build process is performed automatically.