public class ParamTag extends 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 FormbodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
ParamTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
void |
release() |
void |
setName(String name)
Set the name of the parameter (required).
|
void |
setValue(String value)
Set the value of the parameter (optional).
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic void setName(String name)
public void setValue(String value)
public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class BodyTagSupportJspExceptionpublic void release()
release in interface Tagrelease in class BodyTagSupport