code: public static void remove(PageContext pc, String name, int scope) {
          switch (scope) {
              case PageContext.PAGE_SCOPE:
                  pc.removeAttribute(name + PAGE_SCOPE_SUFFIX, scope);
                  break;
              case PageContext.REQUEST_SCOPE:
                  pc.removeAttribute(name + REQUEST_SCOPE_SUFFIX, scope);
                  break;
              case PageContext.SESSION_SCOPE:
                  pc.removeAttribute(name + SESSION_SCOPE_SUFFIX, scope);
                  break;
              case PageContext.APPLICATION_SCOPE:
                  pc.removeAttribute(name + APPLICATION_SCOPE_SUFFIX, scope);
                  break;
              default:
                  throw new IllegalArgumentException("unknown scope");
          }
      }
docs: Removes a configuration variable from the given scope.
  <p> Removing a configuration variable is performed as if each scope had
  its own namespace, that is, the same configuration variable name in one
  scope does not impact one stored in a different scope.
  
  @param pc    Page context from which the configuration variable is to be
  removed
  @param name  Configuration variable name
  @param scope Scope from which the configuration variable is to be
  removed