public abstract class ImportSupport extends javax.servlet.jsp.tagext.BodyTagSupport implements javax.servlet.jsp.tagext.TryCatchFinally, ParamParent
Support for tag handlers for <import>, the general-purpose text-importing mechanism for JSTL 1.0. The rtexprvalue and expression- evaluating libraries each have handlers that extend this class.
| Modifier and Type | Field and Description |
|---|---|
protected String |
charEncoding |
protected String |
context |
static String |
DEFAULT_ENCODING
Default character encoding for response.
|
protected String |
url |
| Constructor and Description |
|---|
ImportSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String name,
String value)
Adds a parameter to this tag's URL.
|
void |
doCatch(Throwable t) |
int |
doEndTag() |
void |
doFinally() |
int |
doStartTag() |
void |
release() |
void |
setScope(String scope) |
void |
setVar(String var) |
void |
setVarReader(String varReader) |
static String |
stripSession(String url)
Strips a servlet session ID from url.
|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic static final String DEFAULT_ENCODING
protected String url
protected String context
protected String charEncoding
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 javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic void doCatch(Throwable t) throws Throwable
doCatch in interface javax.servlet.jsp.tagext.TryCatchFinallyThrowablepublic void doFinally()
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinallypublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.BodyTagSupportpublic void setVar(String var)
public void setVarReader(String varReader)
public void setScope(String scope)
public void addParameter(String name, String value)
ParamParentaddParameter in interface ParamParentParamSupportCopyright © 2001–2025 The Apache Software Foundation. All rights reserved.