Java Doc for PageContext.java in  » EJB-Server-resin-3.1.5 » jsdk » javax » servlet » jsp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » jsdk » javax.servlet.jsp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.servlet.jsp.JspContext
      javax.servlet.jsp.PageContext

PageContext
abstract public class PageContext extends JspContext (Code)


Field Summary
final public static  StringAPPLICATION
    
final public static  intAPPLICATION_SCOPE
    
final public static  StringCONFIG
    
final public static  StringEXCEPTION
    
final public static  StringOUT
    
final public static  StringPAGE
    
final public static  StringPAGECONTEXT
    
final public static  intPAGE_SCOPE
    
final public static  StringREQUEST
    
final public static  intREQUEST_SCOPE
    
final public static  StringRESPONSE
    
final public static  StringSESSION
    
final public static  intSESSION_SCOPE
    


Method Summary
abstract public  voidforward(String relativeUrl)
     Forwards the request relative to the current URL.
abstract public  ObjectgetAttribute(String name)
     Gets the named page attribute.
abstract public  EnumerationgetAttributeNames()
     Return an enumeration of all the attribute names.
abstract public  ErrorDatagetErrorData()
     Returns an error data instance.
abstract public  ExceptiongetException()
     Returns the exception for error pages.
abstract public  JspWritergetOut()
     Returns the current output for the page.
abstract public  ObjectgetPage()
     Return the servlet object for the page.
abstract public  ServletRequestgetRequest()
     Returns the ServletRequest for the page.
abstract public  ServletResponsegetResponse()
     Returns the ServletResponse for the page.
abstract public  ServletConfiggetServletConfig()
     Returns the servletConfig for the JSP page.
abstract public  ServletContextgetServletContext()
     Returns the servletContext (application object) for the request.
abstract public  HttpSessiongetSession()
     Returns the request's session.
abstract public  voidhandlePageException(Exception e)
     Internal routine to support errorPages.
abstract public  voidhandlePageException(Throwable t)
    
public  voidinclude(String relativeUrl)
     Includes the a page relative to the current URL.
abstract public  voidinclude(String relativeUrl, boolean flush)
     Includes the a page relative to the current URL.
abstract public  voidinitialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)
     Internal routine to initialize the PageContext for a page.
public  BodyContentpushBody()
     Internal routine to support BodyTags.
abstract public  voidrelease()
     Internal routine to free PageContext resources at the end of a page.
abstract public  voidremoveAttribute(String name)
     Removes the named page attribute.
abstract public  voidsetAttribute(String name, Object attribute)
     Sets the named page attribute.

Field Detail
APPLICATION
final public static String APPLICATION(Code)



APPLICATION_SCOPE
final public static int APPLICATION_SCOPE(Code)



CONFIG
final public static String CONFIG(Code)



EXCEPTION
final public static String EXCEPTION(Code)



OUT
final public static String OUT(Code)



PAGE
final public static String PAGE(Code)



PAGECONTEXT
final public static String PAGECONTEXT(Code)



PAGE_SCOPE
final public static int PAGE_SCOPE(Code)



REQUEST
final public static String REQUEST(Code)



REQUEST_SCOPE
final public static int REQUEST_SCOPE(Code)



RESPONSE
final public static String RESPONSE(Code)



SESSION
final public static String SESSION(Code)



SESSION_SCOPE
final public static int SESSION_SCOPE(Code)





Method Detail
forward
abstract public void forward(String relativeUrl) throws ServletException, IOException(Code)
Forwards the request relative to the current URL.



getAttribute
abstract public Object getAttribute(String name)(Code)
Gets the named page attribute.
Parameters:
  name - of the attribute



getAttributeNames
abstract public Enumeration getAttributeNames()(Code)
Return an enumeration of all the attribute names.



getErrorData
abstract public ErrorData getErrorData()(Code)
Returns an error data instance.



getException
abstract public Exception getException()(Code)
Returns the exception for error pages.



getOut
abstract public JspWriter getOut()(Code)
Returns the current output for the page.



getPage
abstract public Object getPage()(Code)
Return the servlet object for the page.



getRequest
abstract public ServletRequest getRequest()(Code)
Returns the ServletRequest for the page.



getResponse
abstract public ServletResponse getResponse()(Code)
Returns the ServletResponse for the page.



getServletConfig
abstract public ServletConfig getServletConfig()(Code)
Returns the servletConfig for the JSP page.



getServletContext
abstract public ServletContext getServletContext()(Code)
Returns the servletContext (application object) for the request.



getSession
abstract public HttpSession getSession()(Code)
Returns the request's session.



handlePageException
abstract public void handlePageException(Exception e) throws ServletException, IOException(Code)
Internal routine to support errorPages. Kept for backward compatibility.



handlePageException
abstract public void handlePageException(Throwable t) throws ServletException, IOException(Code)
Internal routine to support errorPages



include
public void include(String relativeUrl) throws ServletException, IOException(Code)
Includes the a page relative to the current URL.



include
abstract public void include(String relativeUrl, boolean flush) throws ServletException, IOException(Code)
Includes the a page relative to the current URL.



initialize
abstract public void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException, IllegalStateException, IllegalArgumentException(Code)
Internal routine to initialize the PageContext for a page.



pushBody
public BodyContent pushBody()(Code)
Internal routine to support BodyTags. Pushes the new bodyContent to become the value of getOut().



release
abstract public void release()(Code)
Internal routine to free PageContext resources at the end of a page.



removeAttribute
abstract public void removeAttribute(String name)(Code)
Removes the named page attribute.



setAttribute
abstract public void setAttribute(String name, Object attribute)(Code)
Sets the named page attribute.
Parameters:
  name - name of the attribute
Parameters:
  attribute - non-null attribute value.



Methods inherited from javax.servlet.jsp.JspContext
abstract public Object findAttribute(String name)(Code)(Java Doc)
abstract public Object getAttribute(String name)(Code)(Java Doc)
abstract public Object getAttribute(String name, int scope)(Code)(Java Doc)
abstract public Enumeration getAttributeNames()(Code)(Java Doc)
abstract public Enumeration getAttributeNamesInScope(int scope)(Code)(Java Doc)
abstract public int getAttributesScope(String name)(Code)(Java Doc)
abstract public ELContext getELContext()(Code)(Java Doc)
abstract public ExpressionEvaluator getExpressionEvaluator()(Code)(Java Doc)
abstract public JspWriter getOut()(Code)(Java Doc)
abstract public VariableResolver getVariableResolver()(Code)(Java Doc)
public JspWriter popBody()(Code)(Java Doc)
public JspWriter pushBody(Writer writer)(Code)(Java Doc)
abstract public void removeAttribute(String name)(Code)(Java Doc)
abstract public void removeAttribute(String name, int scope)(Code)(Java Doc)
abstract public void setAttribute(String name, Object attribute)(Code)(Java Doc)
abstract public void setAttribute(String name, Object o, int scope)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.