struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Susmita Pati <SP...@alsysinc.com>
Subject RE: Collection for ResultSet
Date Wed, 26 Jun 2002 17:57:39 GMT
Putting it into a Vector is the perfect bet...


-----Original Message-----
From: Daniel Jaffa [mailto:jaffadan@hotmail.com]
Sent: Wednesday, June 26, 2002 1:53 PM
To: Struts Users Mailing List
Subject: Re: Collection for ResultSet


 ArrayList of java beans works great.
----- Original Message -----
From: "Kamholz, Keith (corp-staff) USX" <kkamholz@moog.com>
To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
Sent: Wednesday, June 26, 2002 1:46 PM
Subject: RE: Collection for ResultSet


> I just learned how to do this sort of database work yesterday.  Obviously
> I'm no expert, but it seems like you should just do exactly what you
> thought.  A ResultSet is generally not scrollable, so you should probably
> put the retrieved info in a collection.  Any of those database experts out
> there should correct me if I'm wrong.
>
> ~ Keith
>
>
> -----Original Message-----
> From: Struts Newsgroup [mailto:struts@basebeans.com]
> Sent: Wednesday, June 26, 2002 1:40 PM
> To: struts-user@jakarta.apache.org
> Subject: Collection for ResultSet
>
>
> Subject: Collection for ResultSet
> From: "David Chu" <davidchu@aol.net>
>  ===
> What is the preferred method to iterate through the rows of a database
query
> from a JSP under the Struts framework?  Should I write a class that dumps
> the contents of a ResultSet into some Collection?  It seems this is a
> reoccuring problem and would have been tackled before.  Please advise on a
> preferred solution.  Thanks.
>
>
> --
> -david
>
> ------------------------------
> David C. Chu
> America Online
> Network Tools Intern
> ------------------------------
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>

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

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


Mime
View raw message