The pageContext is an object of PageContext class. jsp. This object is used to represent the entire JSP page. This object stores references to the request and response objects for each request. The application, config, session, and out objects are derived by accessing attributes of this object. The pageContext object also contains information about the directives issued to the JSP page, including the buffering information, the errorPageURL, and page scope. The PageContext class having four scopes, such as PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, and APPLICATION_SCOPE. Here default scope is the page scope.
This object is an implicit objet of type Object class. The page object is really a direct synonym for the this object. This object is assigned to the reference of auto generated Servlet class.