JSP Lifecycle
As has already been stated, JSPs go through a translation and compilation phase prior to processing their first request. This is illustrated in Figure 13.3.
Figure 13.3. JSP translation and processing phase.
The Web server automatically translates and compiles a JSP; you do not have to manually run any utility to do this. JSP translation and compilation can occur at any time prior to the JSP first being accessed. It is implementation dependent when this translation and compilation occurs but it is usually either
On deployment
When the first request for the JSP is received
If the latter strategy is used, not only is there a delay in ...
Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.