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: 病 single API to manage the various scoped namespaces 病 number of convenience API痴 to access various public objects 病 mechanism to obtain the JspWriter for output 病 mechanism to manage session usage by the page 病 mechanism to expose page directive attributes to the scripting environment 瀕echanisms to forward or include the current request to other active components in the application 病 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