Overview | Package | Class | Tree | Deprecated | Index | Help
| JSP 2.2 - Apache Tomcat 7.0.29
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.servlet.jsp
Interface JspApplicationContext

    public interface JspApplicationContext

Stores application-scoped information for the JSP container.

Since:
  2.1

Method Summary
`void` | `addELContextListener(javax.el.ELContextListener listener)` Registers an `ELContextListener` that will notified whenever a new `ELContext` is created.
`void` | `addELResolver(javax.el.ELResolver resolver)` Adds an `ELResolver` to the chain of EL variable and property management within JSP pages and Tag files.
`javax.el.ExpressionFactory` | `getExpressionFactory()` Returns the JSP container's `ExpressionFactory` implementation for EL use.

Method Detail

### addELContextListener

    void addELContextListener(javax.el.ELContextListener listener)

  Registers an `ELContextListener` that will notified whenever a new `ELContext` is created.

  At the very least, any `ELContext` instantiated will have reference to the `JspContext` under `JspContext.class`.

  Parameters:
    `listener` -

### addELResolver

    void addELResolver(javax.el.ELResolver resolver)
                       throws java.lang.IllegalStateException

  Adds an `ELResolver` to the chain of EL variable and property management within JSP pages and Tag files.

  JSP has a default set of ELResolvers to chain for all EL evaluation:

  - `ImplicitObjectELResolver`
  - `ELResolver` instances registered with this method
  - `MapELResolver`
  - `ListELResolver`
  - `ArrayELResolver`
  - `BeanELResolver`
  - `ScopedAttributeELResolver`

  Parameters:
    `resolver` - an additional resolver
  Throws:
    `java.lang.IllegalStateException` - if called after the application's `ServletContextListeners` have been initialized.

### getExpressionFactory

    javax.el.ExpressionFactory getExpressionFactory()

  Returns the JSP container's `ExpressionFactory` implementation for EL use.

  Returns:
    an `ExpressionFactory` implementation

Overview | Package | Class | Tree | Deprecated | Index | Help
| JSP 2.2 - Apache Tomcat 7.0.29
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.