code: public static void setAttribute(PageContext pageContext, String scope, String name, Object value) throws JspTagException {
  		pageContext.setAttribute(name, value, Scope.getScopeId(scope));
  	}
docs: Sets an attribute in the provided textual scope.