org.apache.taglibs.application
Class RemoveAttributeTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.taglibs.application.RemoveAttributeTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class RemoveAttributeTag
extends javax.servlet.jsp.tagext.TagSupport

JSP Tag removeAttribute, used to remove a ServletContext attribute with name name.

JSP Tag Lib Descriptor

 <name>removeAttribute</name>
 <tagclass>org.apache.taglibs.application.RemoveAttributeTag</tagclass>
 <bodycontent>empty</bodycontent>
 <info>Removes an attribute from the ServletContext.</info>
   <attribute>
     <name>name</name>
     <required>true</required>
     <rtexprvalue>false</rtexprvalue>
   </attribute>
 

Author:
Morgan Delagrange
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
RemoveAttributeTag()
           
 
Method Summary
 int doStartTag()
          Removes an attribute from the ServletContext.
 void setName(java.lang.String str)
          Set the required tag attribute name.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveAttributeTag

public RemoveAttributeTag()
Method Detail

doStartTag

public final int doStartTag()
                     throws javax.servlet.jsp.JspException
Removes an attribute from the ServletContext.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
SKIP_BODY
Throws:
javax.servlet.jsp.JspException

setName

public final void setName(java.lang.String str)
Set the required tag attribute name.

Parameters:
String - name of application attribute to remove


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.