jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciot, Thierry" <thierry.c...@compuware.com>
Subject RE: Counting the rows of a ResultSet
Date Tue, 10 Sep 2002 00:48:07 GMT
We use Davisor chart to do just what you want.

Thierry.

-----Original Message-----
From: Henri Yandell [mailto:bayard@generationjava.com]
Sent: Monday, September 09, 2002 8:36 PM
To: Tag Libraries Developers List
Subject: Re: Counting the rows of a ResultSet


This will be database specific I believe. Try writing some Java code away
from the Web container to test whether it works for you on that database
and solve the issue without adding the confusion of a web server.

Hen

On Tue, 10 Sep 2002, Florian Theurich wrote:

> I had a serious Problem. I'm developing a JSP Tag Library in order to
create
> images like charts and tables from the content of a database. For
achieving
> this, I created two Tags, that connect to a database and create a
ResultSet
> with a certain query. The third Tag, the Chart-Tag,  should get the
> ResultSet out of the PageContext and use it to create the chart or
whatever.
>
> Now the problem: To create the chart I need the number of rows, which are
> read from the database. When I tried to create a scrollable ResultSet (in
> the second tag, which is responsible for the exececution of the query) to
> count the rows (in the Chart-Tag) and afterwards jump back to the first
row
> again, the result was an empty ResultSet, although the ResultSet's Type
> (rs.getType()) was scrollable.
>
> I hope, my bad Englisch did not prevent to make my problem undestandable.
> It's really urgent. Does anybody know a solution?
> Best regards
>
> Florian Theurich
>
>
> --
> To unsubscribe, e-mail:
<mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:taglibs-dev-help@jakarta.apache.org>
>
>


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



The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 


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


Mime
View raw message