public class ParamTag
extends javax.servlet.jsp.tagext.BodyTagSupport
<param> tag collects name-value parameters and passes them to a
ParamAware ancestor in the tag hierarchy.
This tag must be nested under a param aware tag.
| Attribute | Required? | Runtime Expression? | Description |
|---|---|---|---|
| name | true | true | The name of the parameter. |
| value | false | true | The value of the parameter. |
Param,
UrlTag,
Serialized Form| Constructor and Description |
|---|
ParamTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
void |
release() |
void |
setName(java.lang.String name)
Set the name of the parameter (required).
|
void |
setValue(java.lang.String value)
Set the value of the parameter (optional).
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic void setName(java.lang.String name)
public void setValue(java.lang.String value)
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.BodyTagSupport