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, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValuepublic 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.TagSupportpublic 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.Exceptionprotected java.lang.String getBaseURL(javax.servlet.http.HttpServletRequest request)
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic int doAfterBody()
throws javax.servlet.jsp.JspException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagdoAfterBody in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionCopyright © 2001-2017 Jalios SA. All Rights Reserved.