public class SqlUpdateTag extends BodyTagSupport implements SQLExecutionTag
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
SqlUpdateTag() |
Modifier and Type | Method and Description |
---|---|
void |
addSQLParameter(java.lang.Object value)
Adds a parameter.
|
int |
doEndTag()
Processed at the end of the tag.
|
void |
setDataSource(Expr dataSource)
Sets the data source.
|
void |
setScope(java.lang.String scope)
Sets the scope.
|
void |
setSql(Expr sql)
Sets the JSP-EL expression for the SQL.
|
void |
setVar(java.lang.String var)
Sets the variable name.
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public void setSql(Expr sql)
public void setVar(java.lang.String var)
public void setScope(java.lang.String scope)
public void setDataSource(Expr dataSource)
public void addSQLParameter(java.lang.Object value)
addSQLParameter
in interface SQLExecutionTag
public int doEndTag() throws JspException
TagSupport
doEndTag
in interface Tag
doEndTag
in class TagSupport
JspException