Chapter 9. Using the JSP's Implicit Objects

As a JSP author, you have access to certain objects that are available for use in JSP documents without being declared first. These objects are parsed by the JSP engine and inserted into the generated servlet as if you defined them yourself.

In reality the JSP engine recognizes the implicit object names and knows that they will be declared by, or passed into, the generated servlet. Here's a example of a code snippet containing a _jspService() method:

 public void _jspService(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { JspFactory _jspxFactory = null; PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig ...

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.