The page Object
The page object is just as it sounds, a reference to the current instance of the JSP. It is initial-
ized to the actual this reference by the generated servlet. The actual code snippet that does
Object page = this;
You use the page object just as you would a this object, to reference the current instance of
your generated servlet.
The exception Object
The implicit exception object only exists in a defined errorPage . It holds a reference to the
uncaught exception that caused the error page to be invoked. You can find a complete descrip-
tion of the errorPage mechanism, including use of the implicit exception object in Chapter
18, “Handling JSP Errors.”
In this chapter we covered the JSP implicit objects and how they are commonly used. We also
talked about how these objects are created in the JSP's generated servlet. You should now have
a clear understanding of the implicit objects that are available to you and what they represent.
In the next chapter, we will cover using the JSP's standard actions.