Home » freemarker-2.3.13 » freemarker.ext.jsp » [javadoc | source]
freemarker.ext.jsp
class: FreeMarkerPageContext2 [javadoc | source]
java.lang.Object
   javax.servlet.jsp.JspContext
      javax.servlet.jsp.PageContext
         freemarker.ext.jsp.FreeMarkerPageContext
            freemarker.ext.jsp.FreeMarkerPageContext2

All Implemented Interfaces:
    TemplateModel

Implementation of PageContext that contains JSP 2.0 specific methods.
Fields inherited from javax.servlet.jsp.PageContext:
PAGE_SCOPE,  REQUEST_SCOPE,  SESSION_SCOPE,  APPLICATION_SCOPE,  PAGE,  PAGECONTEXT,  REQUEST,  RESPONSE,  CONFIG,  SESSION,  OUT,  APPLICATION,  EXCEPTION
Method from freemarker.ext.jsp.FreeMarkerPageContext2 Summary:
create,   getExpressionEvaluator,   getVariableResolver,   include
Methods from freemarker.ext.jsp.FreeMarkerPageContext:
findAttribute,   forward,   getAttribute,   getAttribute,   getAttributeNamesInScope,   getAttributesScope,   getException,   getObjectWrapper,   getOut,   getPage,   getRequest,   getResponse,   getServletConfig,   getServletContext,   getSession,   handlePageException,   handlePageException,   include,   include,   initialize,   peekTopTag,   popBody,   popTopTag,   popWriter,   pushBody,   pushTopTag,   pushWriter,   release,   removeAttribute,   removeAttribute,   setAttribute,   setAttribute
Methods from javax.servlet.jsp.PageContext:
forward,   getErrorData,   getException,   getPage,   getRequest,   getResponse,   getServletConfig,   getServletContext,   getSession,   handlePageException,   handlePageException,   include,   include,   initialize,   pushBody,   release
Methods from javax.servlet.jsp.JspContext:
findAttribute,   getAttribute,   getAttribute,   getAttributeNamesInScope,   getAttributesScope,   getExpressionEvaluator,   getOut,   getVariableResolver,   popBody,   pushBody,   removeAttribute,   removeAttribute,   setAttribute,   setAttribute
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from freemarker.ext.jsp.FreeMarkerPageContext2 Detail:
 static FreeMarkerPageContext create() throws TemplateModelException 
 public ExpressionEvaluator getExpressionEvaluator() 
    Attempts to locate and manufacture an expression evaulator instance. For this to work you must have the Apache Commons-EL package in the classpath. If Commons-EL is not available, this method will throw an UnsupportedOperationException.
 public VariableResolver getVariableResolver() 
    Returns a variable resolver that will resolve variables by searching through the page scope, request scope, session scope and application scope for an attribute with a matching name.
 public  void include(String path,
    boolean flush) throws IOException, ServletException 
    Includes the specified path. The flush argument is ignored!