Friday, May 27, 2016

Jsp Life Cycle and phases flow diagram

JSP Life Cycle Methods

1. jspInit()
2. _jspService()
3. jspDestroy()

life cycle
Jsp life cycle methods


    Jspinit()          - It will be invoked when the JSP page is initialized.

    _jspService()  - It corresponds to the body of the jsp page and it will be handle for requests   
                              and response for all seven HTTP methods ie. GET, POST, DELETE etc.

   jspDestroy() -   CleanUp activity will be handled by this method.

JSP Life Cycle Phases

1. Translation phase
2. Compilation phase
3  Instantiation phase
4  Initialization phase
5  Servicing phase
6  Destruction phase


No comments:

Post a Comment