public class UrlTag
extends javax.servlet.jsp.tagext.BodyTagSupport
LinkTag
to benefit from all the computation provided
by the UrlTag.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_URL
Use this request attribute to force a specific base URL to be used in the UrlTag,
if this value is specified, it will supercede any other value.
|
static java.lang.String |
REVISION |
Constructor and Description |
---|
UrlTag() |
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody() |
int |
doEndTag() |
int |
doStartTag() |
protected java.lang.String |
getBaseURL(javax.servlet.http.HttpServletRequest request) |
void |
printUrl(javax.servlet.http.HttpServletRequest request,
java.io.Writer out,
java.util.Locale locale)
Prints URL using parameter of this tag.
|
void |
setAnchor(java.lang.String anchor) |
void |
setBaseUrl(java.lang.String baseURL) |
void |
setData(Data data) |
void |
setId(java.lang.String id) |
void |
setParamNames(java.lang.String[] names) |
void |
setParamRemove(java.lang.String[] remove) |
void |
setParams(java.lang.String params) |
void |
setParamValues(java.lang.String[] values) |
void |
setUpdate(boolean update) |
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
public static final java.lang.String REVISION
public static final java.lang.String BASE_URL
public void setData(Data data)
public void setId(java.lang.String id)
setId
in class javax.servlet.jsp.tagext.TagSupport
public void setBaseUrl(java.lang.String baseURL)
public void setUpdate(boolean update)
public void setParamNames(java.lang.String[] names)
public void setParamValues(java.lang.String[] values)
public void setParamRemove(java.lang.String[] remove)
public void setParams(java.lang.String params)
public void setAnchor(java.lang.String anchor)
public void printUrl(javax.servlet.http.HttpServletRequest request, java.io.Writer out, java.util.Locale locale) throws java.lang.Exception
request
- the current HttpServletRequestout
- the current JspWriterlocale
- the user Localejava.lang.Exception
protected java.lang.String getBaseURL(javax.servlet.http.HttpServletRequest request)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
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
Copyright © 2001-2010 Jalios SA. All Rights Reserved.