public class ExpressionUtil extends Object
Constructor and Description |
---|
ExpressionUtil() |
Modifier and Type | Method and Description |
---|---|
static javax.el.ValueExpression |
createValueExpression(javax.servlet.jsp.PageContext pageContext,
String expression,
Class<?> expectedType)
Create a value expression.
|
static javax.el.ExpressionFactory |
getExpressionFactory(javax.servlet.jsp.PageContext pageContext)
Return the JSP's ExpressionFactory.
|
public static javax.el.ValueExpression createValueExpression(javax.servlet.jsp.PageContext pageContext, String expression, Class<?> expectedType)
pageContext
- the context in which the expression will be parsedexpression
- the expressionexpectedType
- the expected type of resultpublic static javax.el.ExpressionFactory getExpressionFactory(javax.servlet.jsp.PageContext pageContext)
pageContext
- the context for the JSPCopyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.