Life cycle of JSP:

-Validation- Container checks whether the tags are valid or not.
-Translation- Container converts the JSP file to servlet(MyJsp.jsp->MyJsp_jsp.java) file.
-Compilation- Compiles the servlet file to .class file.
-Configuration- configures the servlet in the web application
-Execution- In the execution phase there are three life cycle methods as servlet.
-jspInit()
-_jspService()
-jspDestroy()
you can override the jspInit() and jspDestroy(). But you can not override the _jspService() method.

1 comment:

  1. Thank you for the words of support on the post. I appreciate it.
    Keep up the great work & happy blogging!

    Zea
    www.imarksweb.org

    ReplyDelete