14.6. Implicit Objects

There are several useful objects that are available implicitly to a JSP. Some of these will be familiar from ColdFusion, chiefly the request, session, and application objects that correspond to the ColdFusion scopes.

These consist of the following:

  • page

  • request

  • response

  • out

  • config

  • exception

  • pageContext

  • session

  • application

In the Java chapters earlier we talked about fashioning our Java code to represent things in the world. The implicit JSP objects each represent different aspects of the application in its various interactions with the client. These are defined in the following sections.

Note

Remember that servlets and JSPs are part of the Java 2 Enterprise Edition. While your container (such as ColdFusion MX or Tomcat 4) will ...

Get Java™ for ColdFusion® Developers 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.