The key to understanding the low-level functionality of JSP is to understand the simple life cycle they follow.
A JSP life cycle can be defined as the entire process of its creation till the destruction which is similar to a servlet life cycle with an additional step which is required to compile a JSP into a servlet.
The following are the paths followed by a JSP
A JSP life cycle can be defined as the entire process of its creation till the destruction which is similar to a servlet life cycle with an additional step which is required to compile a JSP into a servlet.
The following are the paths followed by a JSP
- Compilation
- Initialization
- Execution
- Cleanup