public interface JspApplicationContext
Stores application-scoped information for the JSP container.
| Modifier and Type | Method and Description |
|---|---|
void |
addELContextListener(javax.el.ELContextListener listener)
Registers an
ELContextListener that will be 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. |
void addELContextListener(javax.el.ELContextListener listener)
ELContextListener that will be notified
whenever a new ELContext is created.
At the very least, any ELContext instantiated will have
reference to the JspContext under
JspContext.class.
listener - The listener to addvoid addELResolver(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:
ImplicitObjectELResolverELResolver instances registered with this methodMapELResolverListELResolverArrayELResolverBeanELResolverScopedAttributeELResolverresolver - an additional resolverjava.lang.IllegalStateException - if called after the application's
ServletContextListeners have been initialized.javax.el.ExpressionFactory getExpressionFactory()
Returns the JSP container's ExpressionFactory implementation
for EL use.
ExpressionFactory implementationCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.