java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.taglibs.dbtags.statement.ExecuteTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class ExecuteTag
- extends javax.servlet.jsp.tagext.BodyTagSupport
JSP tag execute, executes the query for the enclosing statement or
preparedstatement tag.
Setting the "ignoreErrors" atttibute to true
will instruct the page to continue in the event of a SQLException,
otherwise by default exceptions will throw a JspTagException.
JSP Tag Lib Descriptor
<name>execute</name>
<tagclass>org.apache.taglibs.dbtags.statement.ExecuteTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>Executes the query for the enclosing statement or
preparedstatement tag.</info>
<attribute>
<name>ignoreErrors</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
|
Method Summary |
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE. |
void |
release()
Release state. |
void |
setIgnoreErrors(boolean ignoreErrors)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_ignoreErrors
boolean _ignoreErrors
ExecuteTag
public ExecuteTag()
setIgnoreErrors
public void setIgnoreErrors(boolean ignoreErrors)
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspTagException
- Description copied from class:
javax.servlet.jsp.tagext.BodyTagSupport
- Default processing of the end tag returning EVAL_PAGE.
release
public void release()
- Description copied from class:
javax.servlet.jsp.tagext.BodyTagSupport
- Release state.