On Wed, 23 Oct 2002, Mark Goking wrote:

> once you use <sql:query var="test">
> and then <c:forEach>
> 
> is there a way to close that var 'test' ?
>  
> or we just leave it? i think this is a waste of resource

'test' doesn't represent a ResultSet; it represents a temporary cache of
your data, and it will be garbage collected as necessary.  The goal was to
prevent the exposure of hard resources (like database connections) to JSP
page authors -- and thus let page authors avoid having to worry about
resource deallocation.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to