A JSP life cycle is defined as the process from its creation to destruction. This is similar to a servlet life cycle with an additional step that is required to compile a JSP into the servlet.
The following are the paths followed by a JSP −
- Compilation
- Initialization
- Execution
- Cleanup
