O'Reilly logo

Special Edition Using Java™ Server Pages and Servlets by Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Core Java Server Page Components

The Built-In JSP Objects

Java Server Pages create a simplified layer on top of the servlet API. Aside from making it easy to create HTML output, the Java Server Pages API makes it easy to access common objects such as the request, response, and session. You access these objects through built-in object names.

The built-in object names and their associated implementation classes are shown in Table 14.1:

Table 14.1. Built-In JSP Objects and Their Implementation Classes

JSP Object Implementation Class
request HttpServletRequest
response HttpServletResponse
out JspWriter
session HttpSession
application ServletContext ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required