Have you ever considered creating a SQLActionForm with setSql() and getSql?
Then put it into your DBActionForm with ...

form.setSqlAction( sqlAction )

then forward to results.jsp

then...

<struts:resultset properties="form.sqlAction" />


I'm kidding!

No, you shouldn't send a ResultSet to your jsp.  That is just bad practice
(IMHO).
I'm no lawyer, but you will probably want to use ActionForm or Value Object
or both.

JM

> -----Original Message-----
> From: Damien VIEL [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 10:04 AM
> To: Struts Users Mailing List
> Subject: Re: Select Input + MySQL ?
>
>
> Yes,
> But maybe it is not the the best choice ?
>
> Dams
>
> ----- Original Message -----
> From: "James Mitchell" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, May 10, 2002 3:47 PM
> Subject: RE: Select Input + MySQL ?
>
>
> > Are you passing a ResultSet to your jsp?
> >
> > JM
> >
> > > -----Original Message-----
> > > From: Damien VIEL [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, May 10, 2002 8:27 AM
> > > To: Struts Users Mailing List
> > > Subject: Select Input + MySQL ?
> > >
> > >
> > > Hi,
> > > Anybody have a sample source code that shows how to do a Select input
> > > from a ResultSet ?
> > >
> > > Thanks All
> > >
> > > Dams
> > >
> > >
> > > --
> > > 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]>
>
>


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

Reply via email to