struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shekhar Jain" <shek...@edgesoftinc.com>
Subject RE: Collection for ResultSet
Date Wed, 26 Jun 2002 18:06:55 GMT
You can use a CachedRowSet instead of a ResultSet and then just iterate
thru that in the JSP

Shekhar Jain

-----Original Message-----
From: Struts Newsgroup [mailto:@Basebeans.comstruts@basebeans.com] 
Sent: Wednesday, June 26, 2002 10:40 AM
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>


Mime
View raw message