Java Doc for PageContextImpl.java in  » Sevlet-Container » apache-tomcat-6.0.14 » org » apache » jasper » runtime » 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 » Sevlet Container » apache tomcat 6.0.14 » org.apache.jasper.runtime 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.servlet.jsp.PageContext
   org.apache.jasper.runtime.PageContextImpl

PageContextImpl
public class PageContextImpl extends PageContext (Code)
Implementation of the PageContext class from the JSP spec. Also doubles as a VariableResolver for the EL.
author:
   Anil K. Vijendran
author:
   Larry Cable
author:
   Hans Bergsten
author:
   Pierre Delisle
author:
   Mark Roth
author:
   Jan Luehe
author:
   Jacob Hookom



Constructor Summary
 PageContextImpl()
    

Method Summary
public  ObjectfindAttribute(String name)
    
public  voidforward(String relativeUrlPath)
    
public  ObjectgetAttribute(String name)
    
public  ObjectgetAttribute(String name, int scope)
    
public  Enumeration<String>getAttributeNamesInScope(int scope)
    
public  intgetAttributesScope(String name)
    
public  ELContextgetELContext()
    
public  ExceptiongetException()
     Returns the exception associated with this page context, if any.
public  ExpressionEvaluatorgetExpressionEvaluator()
     Provides programmatic access to the ExpressionEvaluator.
public  JspWritergetOut()
    
public  ObjectgetPage()
    
public  ServletRequestgetRequest()
    
public  ServletResponsegetResponse()
    
public  ServletgetServlet()
    
public  ServletConfiggetServletConfig()
    
public  ServletContextgetServletContext()
    
public  HttpSessiongetSession()
    
public  VariableResolvergetVariableResolver()
    
public  voidhandlePageException(Exception ex)
    
public  voidhandlePageException(Throwable t)
    
public  voidinclude(String relativeUrlPath)
    
public  voidinclude(String relativeUrlPath, boolean flush)
    
public  voidinitialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)
    
public  JspWriterpopBody()
    
public static  ObjectproprietaryEvaluate(String expression, Class expectedType, PageContext pageContext, ProtectedFunctionMapper functionMap, boolean escape)
     Proprietary method to evaluate EL expressions.
public  BodyContentpushBody()
    
public  JspWriterpushBody(Writer writer)
    
public  voidrelease()
    
public  voidremoveAttribute(String name, int scope)
    
public  voidremoveAttribute(String name)
    
public  voidsetAttribute(String name, Object attribute)
    
public  voidsetAttribute(String name, Object o, int scope)
    


Constructor Detail
PageContextImpl
PageContextImpl()(Code)




Method Detail
findAttribute
public Object findAttribute(String name)(Code)



forward
public void forward(String relativeUrlPath) throws ServletException, IOException(Code)



getAttribute
public Object getAttribute(String name)(Code)



getAttribute
public Object getAttribute(String name, int scope)(Code)



getAttributeNamesInScope
public Enumeration<String> getAttributeNamesInScope(int scope)(Code)



getAttributesScope
public int getAttributesScope(String name)(Code)



getELContext
public ELContext getELContext()(Code)



getException
public Exception getException()(Code)
Returns the exception associated with this page context, if any.

Added wrapping for Throwables to avoid ClassCastException: see Bugzilla 31171 for details. The Exception associated with this page context, if any.




getExpressionEvaluator
public ExpressionEvaluator getExpressionEvaluator()(Code)
Provides programmatic access to the ExpressionEvaluator. The JSP Container must return a valid instance of an ExpressionEvaluator that can parse EL expressions.



getOut
public JspWriter getOut()(Code)



getPage
public Object getPage()(Code)



getRequest
public ServletRequest getRequest()(Code)



getResponse
public ServletResponse getResponse()(Code)



getServlet
public Servlet getServlet()(Code)



getServletConfig
public ServletConfig getServletConfig()(Code)



getServletContext
public ServletContext getServletContext()(Code)



getSession
public HttpSession getSession()(Code)



getVariableResolver
public VariableResolver getVariableResolver()(Code)



handlePageException
public void handlePageException(Exception ex) throws IOException, ServletException(Code)



handlePageException
public void handlePageException(Throwable t) throws IOException, ServletException(Code)



include
public void include(String relativeUrlPath) throws ServletException, IOException(Code)



include
public void include(String relativeUrlPath, boolean flush) throws ServletException, IOException(Code)



initialize
public void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException(Code)



popBody
public JspWriter popBody()(Code)



proprietaryEvaluate
public static Object proprietaryEvaluate(String expression, Class expectedType, PageContext pageContext, ProtectedFunctionMapper functionMap, boolean escape) throws ELException(Code)
Proprietary method to evaluate EL expressions. XXX - This method should go away once the EL interpreter moves out of JSTL and into its own project. For now, this is necessary because the standard machinery is too slow.
Parameters:
  expression - The expression to be evaluated
Parameters:
  expectedType - The expected resulting type
Parameters:
  pageContext - The page context
Parameters:
  functionMap - Maps prefix and name to Method The result of the evaluation



pushBody
public BodyContent pushBody()(Code)



pushBody
public JspWriter pushBody(Writer writer)(Code)



release
public void release()(Code)



removeAttribute
public void removeAttribute(String name, int scope)(Code)



removeAttribute
public void removeAttribute(String name)(Code)



setAttribute
public void setAttribute(String name, Object attribute)(Code)



setAttribute
public void setAttribute(String name, Object o, int scope)(Code)



Fields inherited from javax.servlet.jsp.PageContext
final public static String APPLICATION(Code)(Java Doc)
final public static int APPLICATION_SCOPE(Code)(Java Doc)
final public static String CONFIG(Code)(Java Doc)
final public static String EXCEPTION(Code)(Java Doc)
final public static String OUT(Code)(Java Doc)
final public static String PAGE(Code)(Java Doc)
final public static String PAGECONTEXT(Code)(Java Doc)
final public static int PAGE_SCOPE(Code)(Java Doc)
final public static String REQUEST(Code)(Java Doc)
final public static int REQUEST_SCOPE(Code)(Java Doc)
final public static String RESPONSE(Code)(Java Doc)
final public static String SESSION(Code)(Java Doc)
final public static int SESSION_SCOPE(Code)(Java Doc)

Methods inherited from javax.servlet.jsp.PageContext
abstract public void forward(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc)
public ErrorData getErrorData()(Code)(Java Doc)
abstract public Exception getException()(Code)(Java Doc)
abstract public Object getPage()(Code)(Java Doc)
abstract public ServletRequest getRequest()(Code)(Java Doc)
abstract public ServletResponse getResponse()(Code)(Java Doc)
abstract public ServletConfig getServletConfig()(Code)(Java Doc)
abstract public ServletContext getServletContext()(Code)(Java Doc)
abstract public HttpSession getSession()(Code)(Java Doc)
abstract public void handlePageException(Exception e) throws ServletException, IOException(Code)(Java Doc)
abstract public void handlePageException(Throwable t) throws ServletException, IOException(Code)(Java Doc)
abstract public void include(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc)
abstract public void include(String relativeUrlPath, boolean flush) throws ServletException, IOException(Code)(Java Doc)
abstract public void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException, IllegalStateException, IllegalArgumentException(Code)(Java Doc)
public BodyContent pushBody()(Code)(Java Doc)
abstract public void release()(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.