Author: markt Date: Wed Aug 28 14:14:09 2013 New Revision: 1518214 URL: http://svn.apache.org/r1518214 Log: Add new resolvers to default resolver (bug spotted by remm)
Modified: tomcat/trunk/java/org/apache/jasper/el/ELContextImpl.java Modified: tomcat/trunk/java/org/apache/jasper/el/ELContextImpl.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/el/ELContextImpl.java?rev=1518214&r1=1518213&r2=1518214&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/jasper/el/ELContextImpl.java (original) +++ tomcat/trunk/java/org/apache/jasper/el/ELContextImpl.java Wed Aug 28 14:14:09 2013 @@ -24,6 +24,7 @@ import javax.el.ArrayELResolver; import javax.el.BeanELResolver; import javax.el.CompositeELResolver; import javax.el.ELContext; +import javax.el.ELManager; import javax.el.ELResolver; import javax.el.ExpressionFactory; import javax.el.FunctionMapper; @@ -83,6 +84,9 @@ public final class ELContextImpl extends DefaultResolver = null; } else { DefaultResolver = new CompositeELResolver(); + ((CompositeELResolver) DefaultResolver).add( + ELManager.getExpressionFactory().getStreamELResolver()); + ((CompositeELResolver) DefaultResolver).add(new StaticFieldELResolver()); ((CompositeELResolver) DefaultResolver).add(new MapELResolver()); ((CompositeELResolver) DefaultResolver).add(new ResourceBundleELResolver()); ((CompositeELResolver) DefaultResolver).add(new ListELResolver()); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org