public class ParamTag
extends javax.servlet.jsp.tagext.BodyTagSupport
ParamAware
ancestor in the tag hierarchy.
This tag must be nested under a param aware tag.
Param
,
UrlTag
,
Serialized FormConstructor and Description |
---|
ParamTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
void |
setName(String name)
Sets the name of the parameter
|
void |
setValue(String value)
Sets the value of the parameter
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public void setName(String name)
Required
name
- the parameter namepublic void setValue(String value)
Optional. If not set, the tag's body content is evaluated
value
- the parameter valueCopyright © 2015. All rights reserved.