On Sat, 2 Mar 2002, Agrawal, Anuj (Anuj)** CTR ** wrote:

> After using the JSTL <sql:query var="myQuery"> action, is there an
> easy way to obtain myQuery.recordcount?  Basically a count of the
> number of records returned by the query.

Yes:  myQuery.size.  The 'Result' interface that <sql:query> exposes
contains a getSize() method, which translates to a 'size' property.

--
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this spring from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to