code: public static Object getValue(Object exp, Map ctx, Object root, String path, int lineNumber) {
          try {
              OgnlContext context = new OgnlContext(null, null, new DefaultMemberAccess(true));
              return Ognl.getValue(exp, context, root);
          } catch (OgnlException ex) {
              throw new OgnlRuntimeException(ex.getReason() == null ? ex : ex
                      .getReason(), path, lineNumber);
          } catch (Exception ex) {
              throw new OgnlRuntimeException(ex, path, lineNumber);
          }
      }
docs: Returns the value using the OGNL expression, the root object, a context mpa, a path and a line number.
  
  @param exp the OGNL expression
  @param ctx the context map
  @param root the root object
  @param path the path
  @param lineNumber the line number
  
  @return the value
  
  @throws OgnlRuntimeException when a {@link ognl.OgnlException} occurs