private static final Object evaluate(String expression, Class expectedType, Object actionForm, HttpServletRequest request, ServletContext servletContext)
throws ELException
{
// todo: can this be static / final?
ExpressionEvaluator ee = getExpressionEvaluator();
return ee.evaluate(expression, expectedType, getVariableResolver(actionForm, request, servletContext), null);
}
private static final ExpressionEvaluator getExpressionEvaluator()
{
return new ExpressionEvaluatorImpl();