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, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public 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.Tag
doStartTag
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
public void doCatch(Throwable t) throws Throwable
doCatch
in interface javax.servlet.jsp.tagext.TryCatchFinally
Throwable
public void doFinally()
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public void setVar(String var)
public void setVarReader(String varReader)
public void setScope(String scope)
public void addParameter(String name, String value)
ParamParent
addParameter
in interface ParamParent
ParamSupport
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.