public class EvalTag extends HtmlEscapingAwareTag
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTEid, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
EvalTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
int |
doStartTagInternal()
Called by doStartTag to perform the actual work.
|
void |
setExpression(String expression)
Set the expression to evaluate.
|
void |
setJavaScriptEscape(boolean javaScriptEscape)
Set JavaScript escaping for this tag, as boolean value.
|
void |
setScope(String scope)
Set the scope to export the evaluation result to.
|
void |
setVar(String var)
Set the variable name to expose the evaluation result under.
|
isDefaultHtmlEscape, isHtmlEscape, setHtmlEscapedoCatch, doFinally, doStartTag, getRequestContextdoAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValuepublic void setExpression(String expression)
public void setVar(String var)
public void setScope(String scope)
public void setJavaScriptEscape(boolean javaScriptEscape)
throws JspException
JspExceptionpublic int doStartTagInternal()
throws JspException
RequestContextAwareTagdoStartTagInternal in class RequestContextAwareTagJspExceptionTagSupport.doStartTag()public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class TagSupportJspException