| Java FAQ | ||
| JSP FAQ | ||
| Servlet FAQ | ||
XyzWs JSP FAQ:
What are the life-cycle mehtods in JSP?
Printer-friendly version |
Mail this to a friend
|
Advertisement
|
What are the life-cycle mehtods in JSP?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. The life-cycle methods of the JSP are:
The These methods are generated after JSP page translated and compiled, the JSP pages's servlet follows the servlet life-cycle:
If the container needs to remove the JSP page's servlet, it calls the |