SlideShare a Scribd company logo
Implicit Objects
Agenda
• Understanding built In Objects
• Request, response
• Out
• session
• exception
• page and application scope
Implicit Object
• A JSP page has access to certain implicit objects that are always
available, without being declared first
• Created by container
• Corresponds to classes defined in Servlet
Implicit Object
- Provide access to many servlet capabilities within a JSP
- Four scopes
• Application scope
- Objects owned by the container application
- Any servlet or JSP can manipulate these objects
• Session scope
- Objects exist for duration of client’s browsing session
- Objects go out of scope when client terminates session or when
session timeout occurs
• Request scope
- Objects exist for duration of client request
- Objects go out of scope after response sent to client
• Page scope
- Objects that exist only in page in which they are defined
- Each page has its own instance of these objects
Implicit Object
Implicit object Description
Application Scope
application This javax.servlet.ServletContext object represents the container in which the JSP
executes.
Page Scope
config This javax.servlet.ServletConfig object represents the JSP configuration options. As
with servlets, configuration options can be specified in a Web application descriptor.
exception This java.lang.Throwable object represents the exception that is passed to the JSP error
page. This object is available only in a JSP error page.
out This javax.servlet.jsp.JspWriter object writes text as part of the response to a request.
This object is used implicitly with JSP expressions and actions that insert string content in a
response.
page This java.lang.Object object represents the this reference for the current JSP instance.
pageContext This javax.servlet.jsp.PageContext object hides the implementation details of the
underlying servlet and JSP container and provides JSP programmers with access to the implicit
objects discussed in this table.
response This object represents the response to the client and is normally an instance of a class that
implements HttpServletResponse (package javax.servlet.http). If a protocol other
than HTTP is used, this object is an instance of a class that implements
javax.servlet.ServletResponse.
Request Scope
request This object represents the client request. The object normally is an instance of a class that
implements HttpServletRequest (package javax.servlet.http). If a protocol other
than HTTP is used, this object is an instance of a subclass of javax.servlet.Servlet-
Request.
Session Scope
session This javax.servlet.http.HttpSession object represents the client session information
if such a session has been created. This object is available only in pages that participate in a
session.
Implicit Object and their classes
• request (HttpServletRequest)
• response (HttpServletRepsonse)
• session (HttpSession)
• application(ServletContext)
• out (of type JspWriter)
• config (ServletConfig)
• pageContext(this)
Creating an exception with an error page
• Determine the exception thrown
• In each of your JSP, include the name of the error page
- <%@ page errorPage="errorpage.jsp" %>
• Develop an error page, it should include
- <%@ page isErrorPage="true" %>
• In the error page, use the exception reference to display exception
information
<%= exception.toString() %>
About Exception Object
• Instance of java.lang.Throwable
• It is available in those pages where isError page directive is set to
true
• Important methods
- public String getlocalizedMessage()
- public String getMessage()
- public void printStackTrace()
- public void printStackTrace(PrintStream ps)
- public void printStackTrace(PrintWriter pw)
Session Object
• This denotes the data associated with a specific session of user.
• The class or the interface name of the object Session is
http.HttpSession.
• The previous two objects, request and response, are used to pass
information from web browser to server and from server to web
browser respectively.
• The Session Object provides the connection or association between
the client and the server.
• The main use of Session Objects is for maintaining states hen there
are multiple page requests.
Session Object
• It is an instanceof javax.servlet.http.HttpSession
• getAttributes returns the bounded object or null
• getAttributes return Enumeration of String Objects containing names
of all Object bounded to the session
• getCreationTime returns the time in millseconds when the session
• isNew() returns true if the server has created a session that hasn’t been
accessed by the client
• getId() returns String Object containing a unique identifier for his
session
• Invalidate() invalidates the session and unbinds any object bound to it
Request Object
• The request object is an instance of a
javax.servlet.http.HttpServletRequest object. Each time a client
requests a page the JSP engine creates a new object to represent
that request.
• The request object provides methods to get HTTP header
information including form data, cookies, HTTP methods etc.
Request Object methods
• public Object getAttribute(String name)
• getAttributeNames() returns an Enumeration containing the attribute names
available to the invoking ServletRequest object:
• public java.util.Enumeration getAttributeNames()
• getAuthType() returns the name of the authentication scheme used in the
request or null if no authentication scheme was used. It returns one of the
constants BASIC_AUTH, FORM_AUTH, CLIENT_CERT_AUTH, or
DIGEST_AUTH, or it returns null if the request wasn't authenticated:
• public String getAuthType()
• getCharacterEncoding() returns a String object containing the character
encoding used in the body of the request or null if there's no encoding:
• public String getCharacterEncoding()
Request Object methods
• public Object getAttribute(String name)
• getAttributeNames() returns an Enumeration containing the attribute names
available to the invoking ServletRequest object:
• public java.util.Enumeration getAttributeNames()
• getAuthType() returns the name of the authentication scheme used in the
request or null if no authentication scheme was used. It returns one of the
constants BASIC_AUTH, FORM_AUTH, CLIENT_CERT_AUTH, or
DIGEST_AUTH, or it returns null if the request wasn't authenticated:
• public String getAuthType()
• getCharacterEncoding() returns a String object containing the character
encoding used in the body of the request or null if there's no encoding:
• public String getCharacterEncoding()
Response Object
• The response object is an instance of a
javax.servlet.http.HttpServletResponse object. Just as the server
creates the request object, it also creates an object to represent the
response to the client.
• The response object also defines the interfaces that deal with
creating new HTTP headers. Through this object the JSP
programmer can add new cookies or date stamps, HTTP status
codes etc.
out Object
• The out implicit object is an instance of a javax.servlet.jsp.JspWriter
object and is used to send content in a response.
• The initial JspWriter object is instantiated differently depending on
whether the page is buffered or not. Buffering can be easily turned off
by using the buffered='false' attribute of the page directive.
• The JspWriter object contains most of the same methods as the
java.io.PrintWriter class. However, JspWriter has some additional
methods designed to deal with buffering. Unlike the PrintWriter object,
JspWriter throws IOExceptions.
application Object
• The application object is direct wrapper around the ServletContext
object for the generated Servlet and in reality an instance of a
javax.servlet.ServletContext object.
• This object is a representation of the JSP page through its entire
lifecycle. This object is created when the JSP page is initialized and will
be removed when the JSP page is removed by the jspDestroy() method.
• By adding an attribute to application, you can ensure that all JSP files
that make up your web application have access to it.
config Object
• The config object is an instantiation of javax.servlet.ServletConfig and
is a direct wrapper around the ServletConfig object for the generated
servlet.
• This object allows the JSP programmer access to the Servlet or JSP
engine initialization parameters such as the paths or file locations etc.
pageContext Object
• The pageContext object is an instance of a javax.servlet.jsp.PageContext object. The
pageContext object is used to represent the entire JSP page.
• This object is intended as a means to access information about the page while
avoiding most of the implementation details.
• 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 defines several fields, including PAGE_SCOPE,
REQUEST_SCOPE, SESSION_SCOPE, and APPLICATION_SCOPE, which
identify the four scopes. It also supports more than 40 methods, about half of which
are inherited from the javax.servlet.jsp. JspContext class
Summary
• Implicit Objects
- page
- request
- session
- application
- response
- out
- cexception

More Related Content

What's hot (20)

PDF
Lecture 4: JavaServer Pages (JSP) & Expression Language (EL)
Fahad Golra
 
PDF
.NET Core, ASP.NET Core Course, Session 14
Amin Mesbahi
 
PDF
Java persistence api 2.1
Rakesh K. Cherukuri
 
PDF
Rest
Ivano Malavolta
 
ODP
Hibernate complete Training
sourabh aggarwal
 
PDF
Introduction to Spring MVC
Richard Paul
 
ODP
Hibernate Developer Reference
Muthuselvam RS
 
PDF
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
SPTechCon
 
PPS
Java Hibernate Programming with Architecture Diagram and Example
kamal kotecha
 
ODP
JPA Best Practices
Carol McDonald
 
PDF
.NET Core, ASP.NET Core Course, Session 13
Amin Mesbahi
 
PDF
Filtering data with D2W
WO Community
 
PPTX
Hibernate working with criteria- Basic Introduction
Er. Gaurav Kumar
 
PPT
Java Persistence API (JPA) Step By Step
Guo Albert
 
PDF
Proxy design pattern (Class Ambassador)
Sameer Rathoud
 
PPT
Entity Persistence with JPA
Subin Sugunan
 
PPT
Deployment
Roy Antony Arnold G
 
PPTX
Using the Tooling API to Generate Apex SOAP Web Service Clients
Daniel Ballinger
 
PPT
Wcf data services
Eyal Vardi
 
PPTX
Object identification and its management
Vinay Kumar Pulabaigari
 
Lecture 4: JavaServer Pages (JSP) & Expression Language (EL)
Fahad Golra
 
.NET Core, ASP.NET Core Course, Session 14
Amin Mesbahi
 
Java persistence api 2.1
Rakesh K. Cherukuri
 
Hibernate complete Training
sourabh aggarwal
 
Introduction to Spring MVC
Richard Paul
 
Hibernate Developer Reference
Muthuselvam RS
 
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
SPTechCon
 
Java Hibernate Programming with Architecture Diagram and Example
kamal kotecha
 
JPA Best Practices
Carol McDonald
 
.NET Core, ASP.NET Core Course, Session 13
Amin Mesbahi
 
Filtering data with D2W
WO Community
 
Hibernate working with criteria- Basic Introduction
Er. Gaurav Kumar
 
Java Persistence API (JPA) Step By Step
Guo Albert
 
Proxy design pattern (Class Ambassador)
Sameer Rathoud
 
Entity Persistence with JPA
Subin Sugunan
 
Using the Tooling API to Generate Apex SOAP Web Service Clients
Daniel Ballinger
 
Wcf data services
Eyal Vardi
 
Object identification and its management
Vinay Kumar Pulabaigari
 

Similar to Advance java session 11 (20)

PPTX
Jsp session 3
Anuj Singh Rajput
 
PPTX
Implicit Objects &Handling.pptx
KSuvetha1
 
PPTX
Implicit objects advance Java
Darshit Metaliya
 
DOC
Jsp advance part i
sameersaxena90
 
PPTX
Introduction to JSP.pptx
ManishaPatil932723
 
PPTX
Core web application development
Bahaa Farouk
 
PPT
Server side development on java server pages
vinitasharma749430
 
PPT
Jsp
Manav Prasad
 
PDF
Servlet., tomcat server, implicit jsp object
ADITYADIXIT974283
 
PPTX
Java server pages
Farzad Wadia
 
PPTX
Implicit object.pptx
chakrapani tripathi
 
PDF
Lap trinh web [Slide jsp]
Tri Nguyen
 
PPTX
Jsp Introduction Tutorial
APSMIND TECHNOLOGY PVT LTD.
 
DOCX
Jsp
parthu310
 
PDF
HTTP, JSP, and AJAX.pdf
Arumugam90
 
PPTX
Jsp request implicit object
chauhankapil
 
PPT
Jsp ppt
Vikas Jagtap
 
TXT
Jsp Notes
Rajiv Gupta
 
Jsp session 3
Anuj Singh Rajput
 
Implicit Objects &Handling.pptx
KSuvetha1
 
Implicit objects advance Java
Darshit Metaliya
 
Jsp advance part i
sameersaxena90
 
Introduction to JSP.pptx
ManishaPatil932723
 
Core web application development
Bahaa Farouk
 
Server side development on java server pages
vinitasharma749430
 
Servlet., tomcat server, implicit jsp object
ADITYADIXIT974283
 
Java server pages
Farzad Wadia
 
Implicit object.pptx
chakrapani tripathi
 
Lap trinh web [Slide jsp]
Tri Nguyen
 
Jsp Introduction Tutorial
APSMIND TECHNOLOGY PVT LTD.
 
HTTP, JSP, and AJAX.pdf
Arumugam90
 
Jsp request implicit object
chauhankapil
 
Jsp ppt
Vikas Jagtap
 
Jsp Notes
Rajiv Gupta
 
Ad

More from Smita B Kumar (20)

PPTX
Advance java session 20
Smita B Kumar
 
PPTX
Advance java session 19
Smita B Kumar
 
PPTX
Advance java session 18
Smita B Kumar
 
PPTX
Advance java session 17
Smita B Kumar
 
PPTX
Advance java session 16
Smita B Kumar
 
PPTX
Advance java session 15
Smita B Kumar
 
PPTX
Advance java session 14
Smita B Kumar
 
PPTX
Advance java session 13
Smita B Kumar
 
PPTX
Advance java session 12
Smita B Kumar
 
PPTX
Advance java session 10
Smita B Kumar
 
PPTX
Advance java session 9
Smita B Kumar
 
PPTX
Advance java session 8
Smita B Kumar
 
PPTX
Advance java session 7
Smita B Kumar
 
PPTX
Advance java session 6
Smita B Kumar
 
PPTX
Advance java session 5
Smita B Kumar
 
PPTX
Advance java session 4
Smita B Kumar
 
PPTX
Advance java session 3
Smita B Kumar
 
PPTX
Advance java session 2
Smita B Kumar
 
PPTX
JEE session 1
Smita B Kumar
 
PPTX
01 introduction to struts2
Smita B Kumar
 
Advance java session 20
Smita B Kumar
 
Advance java session 19
Smita B Kumar
 
Advance java session 18
Smita B Kumar
 
Advance java session 17
Smita B Kumar
 
Advance java session 16
Smita B Kumar
 
Advance java session 15
Smita B Kumar
 
Advance java session 14
Smita B Kumar
 
Advance java session 13
Smita B Kumar
 
Advance java session 12
Smita B Kumar
 
Advance java session 10
Smita B Kumar
 
Advance java session 9
Smita B Kumar
 
Advance java session 8
Smita B Kumar
 
Advance java session 7
Smita B Kumar
 
Advance java session 6
Smita B Kumar
 
Advance java session 5
Smita B Kumar
 
Advance java session 4
Smita B Kumar
 
Advance java session 3
Smita B Kumar
 
Advance java session 2
Smita B Kumar
 
JEE session 1
Smita B Kumar
 
01 introduction to struts2
Smita B Kumar
 
Ad

Recently uploaded (20)

PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 

Advance java session 11

  • 2. Agenda • Understanding built In Objects • Request, response • Out • session • exception • page and application scope
  • 3. Implicit Object • A JSP page has access to certain implicit objects that are always available, without being declared first • Created by container • Corresponds to classes defined in Servlet
  • 4. Implicit Object - Provide access to many servlet capabilities within a JSP - Four scopes • Application scope - Objects owned by the container application - Any servlet or JSP can manipulate these objects • Session scope - Objects exist for duration of client’s browsing session - Objects go out of scope when client terminates session or when session timeout occurs • Request scope - Objects exist for duration of client request - Objects go out of scope after response sent to client • Page scope - Objects that exist only in page in which they are defined - Each page has its own instance of these objects
  • 5. Implicit Object Implicit object Description Application Scope application This javax.servlet.ServletContext object represents the container in which the JSP executes. Page Scope config This javax.servlet.ServletConfig object represents the JSP configuration options. As with servlets, configuration options can be specified in a Web application descriptor. exception This java.lang.Throwable object represents the exception that is passed to the JSP error page. This object is available only in a JSP error page. out This javax.servlet.jsp.JspWriter object writes text as part of the response to a request. This object is used implicitly with JSP expressions and actions that insert string content in a response. page This java.lang.Object object represents the this reference for the current JSP instance. pageContext This javax.servlet.jsp.PageContext object hides the implementation details of the underlying servlet and JSP container and provides JSP programmers with access to the implicit objects discussed in this table. response This object represents the response to the client and is normally an instance of a class that implements HttpServletResponse (package javax.servlet.http). If a protocol other than HTTP is used, this object is an instance of a class that implements javax.servlet.ServletResponse. Request Scope request This object represents the client request. The object normally is an instance of a class that implements HttpServletRequest (package javax.servlet.http). If a protocol other than HTTP is used, this object is an instance of a subclass of javax.servlet.Servlet- Request. Session Scope session This javax.servlet.http.HttpSession object represents the client session information if such a session has been created. This object is available only in pages that participate in a session.
  • 6. Implicit Object and their classes • request (HttpServletRequest) • response (HttpServletRepsonse) • session (HttpSession) • application(ServletContext) • out (of type JspWriter) • config (ServletConfig) • pageContext(this)
  • 7. Creating an exception with an error page • Determine the exception thrown • In each of your JSP, include the name of the error page - <%@ page errorPage="errorpage.jsp" %> • Develop an error page, it should include - <%@ page isErrorPage="true" %> • In the error page, use the exception reference to display exception information <%= exception.toString() %>
  • 8. About Exception Object • Instance of java.lang.Throwable • It is available in those pages where isError page directive is set to true • Important methods - public String getlocalizedMessage() - public String getMessage() - public void printStackTrace() - public void printStackTrace(PrintStream ps) - public void printStackTrace(PrintWriter pw)
  • 9. Session Object • This denotes the data associated with a specific session of user. • The class or the interface name of the object Session is http.HttpSession. • The previous two objects, request and response, are used to pass information from web browser to server and from server to web browser respectively. • The Session Object provides the connection or association between the client and the server. • The main use of Session Objects is for maintaining states hen there are multiple page requests.
  • 10. Session Object • It is an instanceof javax.servlet.http.HttpSession • getAttributes returns the bounded object or null • getAttributes return Enumeration of String Objects containing names of all Object bounded to the session • getCreationTime returns the time in millseconds when the session • isNew() returns true if the server has created a session that hasn’t been accessed by the client • getId() returns String Object containing a unique identifier for his session • Invalidate() invalidates the session and unbinds any object bound to it
  • 11. Request Object • The request object is an instance of a javax.servlet.http.HttpServletRequest object. Each time a client requests a page the JSP engine creates a new object to represent that request. • The request object provides methods to get HTTP header information including form data, cookies, HTTP methods etc.
  • 12. Request Object methods • public Object getAttribute(String name) • getAttributeNames() returns an Enumeration containing the attribute names available to the invoking ServletRequest object: • public java.util.Enumeration getAttributeNames() • getAuthType() returns the name of the authentication scheme used in the request or null if no authentication scheme was used. It returns one of the constants BASIC_AUTH, FORM_AUTH, CLIENT_CERT_AUTH, or DIGEST_AUTH, or it returns null if the request wasn't authenticated: • public String getAuthType() • getCharacterEncoding() returns a String object containing the character encoding used in the body of the request or null if there's no encoding: • public String getCharacterEncoding()
  • 13. Request Object methods • public Object getAttribute(String name) • getAttributeNames() returns an Enumeration containing the attribute names available to the invoking ServletRequest object: • public java.util.Enumeration getAttributeNames() • getAuthType() returns the name of the authentication scheme used in the request or null if no authentication scheme was used. It returns one of the constants BASIC_AUTH, FORM_AUTH, CLIENT_CERT_AUTH, or DIGEST_AUTH, or it returns null if the request wasn't authenticated: • public String getAuthType() • getCharacterEncoding() returns a String object containing the character encoding used in the body of the request or null if there's no encoding: • public String getCharacterEncoding()
  • 14. Response Object • The response object is an instance of a javax.servlet.http.HttpServletResponse object. Just as the server creates the request object, it also creates an object to represent the response to the client. • The response object also defines the interfaces that deal with creating new HTTP headers. Through this object the JSP programmer can add new cookies or date stamps, HTTP status codes etc.
  • 15. out Object • The out implicit object is an instance of a javax.servlet.jsp.JspWriter object and is used to send content in a response. • The initial JspWriter object is instantiated differently depending on whether the page is buffered or not. Buffering can be easily turned off by using the buffered='false' attribute of the page directive. • The JspWriter object contains most of the same methods as the java.io.PrintWriter class. However, JspWriter has some additional methods designed to deal with buffering. Unlike the PrintWriter object, JspWriter throws IOExceptions.
  • 16. application Object • The application object is direct wrapper around the ServletContext object for the generated Servlet and in reality an instance of a javax.servlet.ServletContext object. • This object is a representation of the JSP page through its entire lifecycle. This object is created when the JSP page is initialized and will be removed when the JSP page is removed by the jspDestroy() method. • By adding an attribute to application, you can ensure that all JSP files that make up your web application have access to it.
  • 17. config Object • The config object is an instantiation of javax.servlet.ServletConfig and is a direct wrapper around the ServletConfig object for the generated servlet. • This object allows the JSP programmer access to the Servlet or JSP engine initialization parameters such as the paths or file locations etc.
  • 18. pageContext Object • The pageContext object is an instance of a javax.servlet.jsp.PageContext object. The pageContext object is used to represent the entire JSP page. • This object is intended as a means to access information about the page while avoiding most of the implementation details. • 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 defines several fields, including PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, and APPLICATION_SCOPE, which identify the four scopes. It also supports more than 40 methods, about half of which are inherited from the javax.servlet.jsp. JspContext class
  • 19. Summary • Implicit Objects - page - request - session - application - response - out - cexception