is this the best way to handle this?
as my project is rather small scale..there isnt a need for me to use ORM..

On 2/20/06, Vijaya S <[EMAIL PROTECTED]> wrote:
>
> You have to copy the resultset to an arraylist and return the arraylist.
>
> Vijaya
>
>
> -----Original Message-----
> From: chuanjiang lo [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 20, 2006 6:22 PM
> To: user@struts.apache.org
> Subject: Returning ResultSet
>
>
> Hi guys,
>
> I have this DBConnectionManager class that manages the connection pooling.
> It has this method to get some results from the database.
>
> So my action form make use of the method to get the resultset and tries to
> display on the jsp page.
> But the method would close the connection after i query the database thus
> my
> resultset is lost.
>
> What should be the correct way of returning a resultset to the action
> page?
>
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to