From JSTL 1.1 Spec
The <c:remove> action removes a scoped variable.
If attribute scope is not specified, the scoped variable is removed according to the semantics of PageContext.removeAttribute(varName). If attribute scope is specified, the scoped variable is removed according to the semantics of PageContext.removeAttribute(varName, scope).
From
JSP 2.0 API
removeAttribute
public abstract void removeAttribute(String name)
Remove the object reference associated with the given name from all scopes. Does nothing if there is no such object.
removeAttribute
public abstract void removeAttribute(String name, int scope)
Remove the object reference associated with the specified name in the given scope. Does nothing if there is no such object.