public class BundleTag extends TagSupport implements TryCatchFinally
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
BundleTag() |
Modifier and Type | Method and Description |
---|---|
void |
doCatch(java.lang.Throwable t)
Handle the catch
|
void |
doFinally()
Handle the finaly
|
int |
doStartTag()
Process the tag.
|
void |
setBasename(Expr basename)
Sets the JSP-EL expression for the basename.
|
static java.lang.Object |
setBundle(java.lang.String baseName,
PageContextImpl pc) |
void |
setPrefix(Expr prefix)
Sets a prefix for message keys.
|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
public void setBasename(Expr basename)
public void setPrefix(Expr prefix)
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public void doCatch(java.lang.Throwable t) throws java.lang.Throwable
doCatch
in interface TryCatchFinally
t
- the thrown exceptionjava.lang.Throwable
public void doFinally()
doFinally
in interface TryCatchFinally
public static java.lang.Object setBundle(java.lang.String baseName, PageContextImpl pc)