page

The page object is just as it sounds, a reference to the current instance of the JSP. It is initialized to the actual this reference by the generated servlet. The actual code snippet that does this follows:

Object page = this;

You use the page object just as you would a this object, to reference the current instance of your generated servlet.

Get Pure Java Server Pages™ 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.