What are the lifecycle of JSP?

Discussion in 'JSP' started by Mannu, Apr 5, 2011.

  1. Mannu

    Mannu Banned

    Joined:
    Mar 3, 2011
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    SEO executive
    Location:
    New Delhi(india)
    Home Page:
    http://www.landlordssolutions.com/

    When presented with JSP page the 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 required.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice