public class IncludeTag extends WebWorkBodyTagSupport implements ParamTag.Parametric
| Modifier and Type | Field and Description |
|---|---|
protected String |
pageAttr |
protected Map |
params |
protected String |
valueAttr |
stack| Constructor and Description |
|---|
IncludeTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String name,
Object value)
Add a parameter to the URL of the included page/servlet.
|
int |
doEndTag() |
int |
doStartTag() |
static String |
getContextRelativePath(javax.servlet.ServletRequest request,
String relativePath) |
static void |
include(String aResult,
javax.servlet.jsp.PageContext aContext) |
void |
setPage(String aPage)
Deprecated.
use value attribute instead
|
void |
setValue(String aName)
Name of property whose value is the name of the page/servlet to include.
|
findString, findValue, getStack, release, setPageContext, setParent, toStringdoAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setValueprotected String pageAttr
protected String valueAttr
protected Map params
public static void include(String aResult, javax.servlet.jsp.PageContext aContext) throws javax.servlet.ServletException, IOException
javax.servlet.ServletExceptionIOExceptionpublic static String getContextRelativePath(javax.servlet.ServletRequest request, String relativePath)
public void setPage(String aPage)
aPage - public void setValue(String aName)
aName - public void addParameter(String name, Object value)
addParameter in interface ParamTag.Parametricname - value - 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 doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class WebWorkBodyTagSupportjavax.servlet.jsp.JspExceptionCopyright © 2013 Atlassian. All Rights Reserved.