Re: How to pass SQL variable from JSP to Action?

2005-09-01 Thread 梁炳�
inal Message- > > From: ??? [mailto:[EMAIL PROTECTED] > > Sent: 01 September 2005 15:09 > > To: Struts Users Mailing List > > Subject: Re: How to pass SQL variable from JSP to Action? > > > > Richard > > > > Are you suggesting something like Hibern

Re: How to pass SQL variable from JSP to Action?

2005-09-01 Thread 梁炳�
> Look it up in a Struts action and place in the presentation layer via an > ActionForm etc before showing the JSP > > -Original Message- > From: ??? [mailto:[EMAIL PROTECTED] > Sent: 01 September 2005 15:09 > To: Struts Users Mailing List > Subject: Re: How to pass SQL

Re: How to pass SQL variable from JSP to Action?

2005-09-01 Thread 梁炳�
lto:[EMAIL PROTECTED] > Sent: 01 September 2005 15:09 > To: Struts Users Mailing List > Subject: Re: How to pass SQL variable from JSP to Action? > > Richard > > Are you suggesting something like Hibernate or iBatis? > > Daniel > > > 2005/9/1, R. Markham <

RE: How to pass SQL variable from JSP to Action?

2005-09-01 Thread Mark Benussi
> > > -Ursprüngliche Nachricht- > Von: ??? [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 1. September 2005 05:30 > An: Struts Users Mailing List > Betreff: Re: How to pass sql variable from jsp to Action? > > I wonder if it is a proper way to do it becaus

Re: How to pass SQL variable from JSP to Action?

2005-09-01 Thread 梁炳�
richt- > Von: ??? [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 1. September 2005 05:30 > An: Struts Users Mailing List > Betreff: Re: How to pass sql variable from jsp to Action? > > I wonder if it is a proper way to do it because > the 1st query displays a no of rows wi

AW: How to pass SQL variable from JSP to Action?

2005-09-01 Thread R. Markham
Hallo Nobody(??) It is bad practice to put SQL Statement in a JSP page. Regards Richard Markham -Ursprüngliche Nachricht- Von: ??? [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. September 2005 05:30 An: Struts Users Mailing List Betreff: Re: How to pass sql variable from jsp to

Re: How to pass sql variable from jsp to Action?

2005-08-31 Thread 梁炳場
I wonder if it is a proper way to do it because the 1st query displays a no of rows with different group ids. Can the pass a value to Action? If it can, it is excellent. Should it be done like this? change the layout from a no of links to a no of forms In each form, it has hidden value of group

How to pass sql variable from jsp to Action?

2005-08-31 Thread 梁炳場
I retrieve a group id by JSP. When user clicks a link Before another page is shown, in my struts-config.xml, I try to make a ActionForward function to capture the group_id and then update a session attribute . Then the resulting jsp is like this Is this a proper way to do this? I do not kn