PageContext is a wrapper around all the implicit objects ( session,
context, out etc ). It is used to store/remove/change attributes in all
the scopes. And all tag handlers get to the implicit objects using only
this object.
From the spec:
The PageContext provides a number of facilities to the page/component author
and page implementor, including:
a single API to manage the various scoped namespaces
a number of convenience APIs to access various public objects
a mechanism to obtain the JspWriter for output
a mechanism to manage session usage by the page
a mechanism to expose page directive attributes to the scripting
environment
mechanisms to forward or include the current request to other active
components
in the application
a mechanism to handle errorpage exception processing
-- padhu
Gopinath D wrote:
Hi all,
Could u plz tell me what the page context in JSP is. I have seen
some questions in many interviews.
I was not able to find out this help me...
Thanks in advance.
Regards,
Gopi.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com