Chapter 4. The JSP Engine: Under The Hood

Topics in this Chapter:

  • Behind the Scenes

  • Multithreading and Persistence

  • The Implicit Objects

  • The JSP Lifecycle

  • A JSP Compiled

  • Performance Tuning the JSP

The previous chapters addressed the background, syntax, and elements of JSP. Until this point many of the technical details of how the JSP engine works have been glossed over or avoided entirely. Developing good JSP applications involves at least a basic understanding of how the JSP engine works.

Behind the Scenes

When the JSP engine receives a request for a page it converts both static data and dynamic elements of a JSP page into Java code fragments. This translation is actually fairly straightforward.

The dynamic data contained within the JSP elements are already ...

Get Core JSP 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.