The cached Row set works extremely well for small volumes but when volumes
are large, its can cause a resource problem as these objects hog the memory
especially when there are a large number of users.

just a thought.

later
hemant


----- Original Message -----
From: "Shekhar Jain" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 1:06 PM
Subject: RE: Newbie: pass ResultSet to JSP?


> We've had good success in using a CachedRowSet instead of a ResultSet.
>
> -----Original Message-----
> From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
> Sent: Friday, June 21, 2002 6:25 AM
> To: [EMAIL PROTECTED]
> Subject: Newbie: pass ResultSet to JSP?
>
>
> Subject: Newbie: pass ResultSet to JSP?
> From: "David Chu" <[EMAIL PROTECTED]>
>  ===
> I am trying to get my head around this struts framework for the first
> time. I am confused about the best/standard way to access data from a
> JSP.
>
> - Let's say I want a page list_items.jsp.
> - I have access to a bean that has a method that returns the results of
> a database query as a ResultSet object.
> - How should I iterate through the rows of the bean?
> - Complication: my jsp complains that the ResultSet object has been
> closed (because I closed the query)
>
> Is this the prefered encapsulator of data that I should be accessing
> through my JSP?  Hopefully I can use the <struts-logic:iterate> tag.
>
> Thanks for helping out a new struts developer!
>
> -david
>
> ------------------------------
> David C. Chu
> America Online
> Network Tools Intern
> ------------------------------
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to