FileDocCategorySizeDatePackage
JspApplicationContext.javaAPI DocApache Tomcat 6.0.142646Fri Jul 20 04:20:30 BST 2007javax.servlet.jsp

JspApplicationContext

public interface JspApplicationContext

Stores application-scoped information for the JSP container.

since
2.1

Fields Summary
Constructors Summary
Methods Summary
public voidaddELContextListener(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.

param
listener

public voidaddELResolver(javax.el.ELResolver resolver)

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

param
resolver an additional resolver
throws
IllegalStateException if called after the application's ServletContextListeners have been initialized.

public javax.el.ExpressionFactorygetExpressionFactory()

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

return
an ExpressionFactory implementation