|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.sql.SqlTagSupport
org.apache.commons.jelly.tags.sql.UpdateTag
Tag handler for <Update> in JSTL.
| Field Summary |
| Fields inherited from class org.apache.commons.jelly.tags.sql.SqlTagSupport |
dataSourceSpecified, isPartOfTransaction, rawDataSource, scope, sql, var |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
UpdateTag()
|
|
| Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Execute the SQL statement, set either through the sql
attribute or as the body, and save the result as a variable
named by the var attribute in the scope specified
by the scope attribute, as an object that implements
the Result interface.
|
| Methods inherited from class org.apache.commons.jelly.tags.sql.SqlTagSupport |
addSQLParameter, clearParameters, getConnection, hasParameters, setDataSource, setParameters, setScope, setSql, setVar |
| Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UpdateTag()
| Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
Execute the SQL statement, set either through the sql
attribute or as the body, and save the result as a variable
named by the var attribute in the scope specified
by the scope attribute, as an object that implements
the Result interface.
The connection used to execute the statement comes either
from the DataSource specified by the
dataSource attribute, provided by a parent action
element, or is retrieved from a JSP scope attribute
named javax.servlet.jsp.jstl.sql.dataSource.
org.apache.commons.jelly.JellyTagException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||