org.apache.taglibs.dbtags.connection
Class CloseConnectionTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.taglibs.dbtags.connection.CloseConnectionTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class CloseConnectionTag
- extends javax.servlet.jsp.tagext.TagSupport
JSP tag closeconnection, used to close the
specified java.sql.Connection.
JSP Tag Lib Descriptor
<name>closeConnection</name>
<tagclass>org.apache.taglibs.dbtags.connection.CloseConnectionTag</tagclass>
<bodycontent>empty</bodycontent>
<info>Close the specified connection. The "conn" attribute is the name of a
connection object in the page context.</info>
<attribute>
<name>conn</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
- Author:
- Morgan Delagrange
- See Also:
ConnectionTag
,
Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
int |
doStartTag()
|
void |
release()
|
void |
setConn(java.lang.String connectionId)
The "conn" attribute is the name of a
page context object containing a
java.sql.Connection. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloseConnectionTag
public CloseConnectionTag()
setConn
public void setConn(java.lang.String connectionId)
- The "conn" attribute is the name of a
page context object containing a
java.sql.Connection.
- Parameters:
connectionId
- attribute name of the java.sql.Connection to close.- See Also:
ConnectionTag
doStartTag
public int doStartTag()
release
public void release()
Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.