Life Cycle Phases of Jsp:
Life cycle of JSP contains the following phases:
Life cycle of JSP contains the following phases:
- Page translation: -converting from .jsp file to .java file
- Page compilation: converting .java to .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.
2 comments:
In the JSP lifecycle, the destroy method is also invoked when the server shuts down
thanks for you
Post a Comment