code: public static Object find(PageContext pc, String name) {
          Object ret = get(pc, name, PageContext.PAGE_SCOPE);
          if (ret == null) {
              ret = get(pc, name, PageContext.REQUEST_SCOPE);
              if (ret == null) {
                  if (pc.getSession() != null) {
                      // check session only if a session is present
                      ret = get(pc, name, PageContext.SESSION_SCOPE);
                  }
                  if (ret == null) {
                      ret = get(pc, name, PageContext.APPLICATION_SCOPE);
                      if (ret == null) {
                          ret = pc.getServletContext().getInitParameter(name);
                      }
                  }
              }
          }
  
          return ret;
      }
docs: Finds the value associated with a specific configuration setting
  identified by its context initialization parameter name.
  <p> For each of the JSP scopes (page, request, session, application),
  get the value of the configuration variable identified by <tt>name</tt>
  using method <tt>get()</tt>. Return as soon as a non-null value is
  found. If no value is found, get the value of the context initialization
  parameter identified by <tt>name</tt>.
  
  @param pc   Page context in which the configuration setting is to be
  searched
  @param name Context initialization parameter name of the configuration
  setting
  @return The <tt>java.lang.Object</tt> associated with the configuration
  setting identified by <tt>name</tt>, or null if it is not defined.