There are two life cycle phases in JSP:
1) Translation phase:
Here the jsp page is converted to a servlet page and compiled to .class file
2)Execution phase:
Compiled code is executed.
The methods used for the life cycle of JSP are:
1.jspInit()
2.jspService()
3.jspDestroy().
SOURCE : www.referjava.com
1 comment:
In the JSP lifecycle, the destroy method is also invoked when the server shuts down
Post a Comment