What implicit objects are supported by JSP?

JSPJava 8Object Oriented ProgrammingProgramming

Following table lists out the nine Implicit Objects that JSP supports −

Sr.No.Object & Description
1request
This is the HttpServletRequest object associated with the request.
2response
This is the HttpServletResponse object associated with the response to the client.
3out
This is the PrintWriter object used to send output to the client.
4session
This is the HttpSession object associated with the request.
5application
This is the ServletContext object associated with the application context.
6config
This is the ServletConfig object associated with the page.
7pageContext
This encapsulates use of server-specific features like higher performance JspWriters.
8page
This is simply a synonym for this, and is used to call the methods defined by the translated servlet class.
9Exception
The Exception object allows the exception data to be accessed by designated JSP.
raja
Published on 20-Mar-2019 11:12:00
Advertisements