A Developer Gateway To IT World...

Techie Uncle Software Testing Core Java Java Spring C Programming Operating System HTML 5 Java 8 ES6 Project

What is JSP Implicit Objects?

JSP Implicit Objects:

JSP supports nine automatically defined variables, which are also called implicit objects. These variables are:

Objects          Description

request              This is the HttpServletRequest object associated with the request. 

response            This is the HttpServletResponse object associated with the response to the client.

out                     This is the PrintWriter object used to send output to the client.
session               This is the HttpSession object associated with the request.
application        This is the ServletContext object associated with application context. 

config                 This is the ServletConfig object associated with the page.
pageContext      This encapsulates use of server-specific features like higher performance JspWriters.

page              This is simply a synonym for this, and is used to call the methods defined by the translated servlet class.
Exception         The Exception object allows the exception data to be accessed by designated JSP. We would explain JSP Implicit Objects in ANOTHER POST.