public class RequestURLTag
extends TagSupport
RequestURLTag
writes the current request URL to the current
JspWriter. The body of this tag allows multiple addParam and removeParam
tags to modify the current request URL before it is written.Constructor and Description |
---|
RequestURLTag()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addParam(java.lang.String name,
java.lang.String value)
Adds a parameter with the given
name and value . |
int |
doEndTag() |
int |
doStartTag() |
void |
release() |
void |
removeParam(java.lang.String name)
Removes the parameter and all its values with the given
name . |
void |
removeParam(java.lang.String name,
java.lang.String value)
Removes a value from the parameter with the given
name . |
public void removeParam(java.lang.String name)
name
.name
- the name of the parameter.public void removeParam(java.lang.String name, java.lang.String value)
name
.name
- name of the parameter.value
- the value to remove.public void addParam(java.lang.String name, java.lang.String value)
name
and value
.name
- the name of the parameter.value
- the value for the parameter.public void release()
public int doStartTag() throws JspException
JspException
public int doEndTag() throws JspException
JspException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"