org.apache.taglibs.request
Class ParameterTag

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

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

JSP Tag parameter, used to output the value for a single HttpServletRequest parameter named with name.

JSP Tag Lib Descriptor

 <name>parameter</name>
 <tagclass>org.apache.taglibs.request.ParameterTag</tagclass>
 <bodycontent>empty</bodycontent>
 <info>Used to output the value of a single parameter.</info>
   <attribute>
     <name>name</name>
     <required>true</required>
     <rtexprvalue>false</rtexprvalue>
   </attribute>
 

Author:
Glenn Nielsen
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
ParameterTag()
           
 
Method Summary
 int doEndTag()
          Method called at end of Tag to output parameter value
 void setName(java.lang.String str)
          Set the required tag attribute name.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, 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

ParameterTag

public ParameterTag()
Method Detail

doEndTag

public final int doEndTag()
                   throws javax.servlet.jsp.JspException
Method called at end of Tag to output parameter value

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

setName

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

Parameters:
String - name of HTTP input parameter


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