Package javax.servlet.jsp
Interface JspApplicationContext
- 
 public interface JspApplicationContextStores application-scoped information for the JSP container. - Since:
- JSP 2.1
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddELContextListener(javax.el.ELContextListener listener)Registers anELContextListenerthat will be notified whenever a newELContextis created.voidaddELResolver(javax.el.ELResolver resolver)Adds anELResolverto the chain of EL variable and property management within JSP pages and Tag files.javax.el.ExpressionFactorygetExpressionFactory()Returns the JSP container'sExpressionFactoryimplementation for EL use.
 
- 
- 
- 
Method Detail- 
addELContextListenervoid addELContextListener(javax.el.ELContextListener listener) Registers anELContextListenerthat will be notified whenever a newELContextis created.At the very least, any ELContextinstantiated will have reference to theJspContextunderJspContext.class.- Parameters:
- listener- The listener to add
 
 - 
addELResolvervoid addELResolver(javax.el.ELResolver resolver) Adds an ELResolverto 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
- ELResolverinstances registered with this method
- MapELResolver
- ListELResolver
- ArrayELResolver
- BeanELResolver
- ScopedAttributeELResolver
 - Parameters:
- resolver- an additional resolver
- Throws:
- java.lang.IllegalStateException- if called after the application's- ServletContextListenershave been initialized.
 
 - 
getExpressionFactoryjavax.el.ExpressionFactory getExpressionFactory() Returns the JSP container's ExpressionFactoryimplementation for EL use.- Returns:
- an ExpressionFactoryimplementation
 
 
- 
 
-