com.opensymphony.webwork.views.jsp
Class URLTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.opensymphony.webwork.views.jsp.WebWorkBodyTagSupport
com.opensymphony.webwork.views.jsp.ParametereizedBodyTagSupport
com.opensymphony.webwork.views.jsp.URLTag
- All Implemented Interfaces:
- BodyTag, IterationTag, ParamTag.Parametric, Serializable, Tag
- public class URLTag
- extends ParametereizedBodyTagSupport
This tag is used to create a URL.
You can use the "param" tag inside the body to provide
additional request parameters.
- Version:
- $Revision: 1.21 $
- Author:
- Rickard ?berg (rickard@dreambean.com)
- See Also:
ParamTag
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final String NONE
- The includeParams attribute may have the value 'none', 'get' or 'all'.
It is used when the url tag is used without a value or page attribute.
Its value is looked up on the ValueStack
If no includeParams is specified then 'get' is used.
none - include no parameters in the URL
get - include only GET parameters in the URL (default)
all - include both GET and POST parameters in the URL
- See Also:
- Constant Field Values
GET
public static final String GET
- See Also:
- Constant Field Values
ALL
public static final String ALL
- See Also:
- Constant Field Values
includeParamsAttr
protected String includeParamsAttr
schemeAttr
protected String schemeAttr
value
protected String value
valueAttr
protected String valueAttr
encode
protected boolean encode
includeContext
protected boolean includeContext
URLTag
public URLTag()
setEncode
public void setEncode(boolean encode)
setIncludeContext
public void setIncludeContext(boolean includeContext)
setIncludeParams
public void setIncludeParams(String aName)
setScheme
public void setScheme(String aScheme)
setValue
public void setValue(String aName)
doEndTag
public int doEndTag()
throws JspException
- Throws:
JspException
doStartTag
public int doStartTag()
throws JspException
- Throws:
JspException