Instantiate it yourself from within the action and attact it to the
request object inside of your action.
On Sun, 2003-09-28 at 18:12, Erez Efrati wrote:
I have a page with two forms. For one an action gets called so I can
initialize the first form easily. But for the second form in the same
submit buttons is no problem.
Jay
- Original Message -
From: STEVE WILKINSON [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 06, 2002 4:56 PM
Subject: Re: Multiple Forms on one JSP...
I use multiple forms successfully in my sample application that I did in
the
Wrox Pro
.
- Original Message -
From: Rustad, Aaron
Sent: Wednesday, February 06, 2002 8:22 PM
To: 'Struts user '
Subject: RE: Multiple Forms on one JSP...
Alright, this is not what I want.
I have ONE JSP, it contains TWO forms, each form goes to a separate action.
However, when the JSP is rendered
, February 07, 2002 7:23 AM
To: Struts user
Subject: Re: Multiple Forms on one JSP...
Sounds like you need some debugging of you code. Hum, I don't see
enough posted here to help.
Normally, one would post more code or look at the code sample that was
offered to compare and see what's wrong. I
Message -
From: Jay Sissom
Sent: Thursday, February 07, 2002 2:59 AM
To: Struts Users Mailing List
Subject: Re: Multiple Forms on one JSP...
Maybe this code snippet is not complete, but there is only one FORM on this
page. Everything between html:form and /html:form is a single form.
There may
I use multiple forms successfully in my sample application that I did in the
Wrox Pro JSP 2nd Edition book. There is one per entry in the HTML table.
--- snip: from showshoppingcart.jsp
html:form action=/checkout.do
html:hidden property=action value=update /
html:hidden property=%=
PROTECTED]]
Sent: Wednesday, February 06, 2002 2:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Multiple Forms on one JSP...
I use multiple forms successfully in my sample application that I did in the
Wrox Pro JSP 2nd Edition book. There is one per entry in the HTML table.
--- snip: from
that name.
I am sure that you should be able to have TWO forms, referencing two
different actions, using TWO different formBean.
Any suggestions?
AR.
-Original Message-
From: STEVE WILKINSON
To: Struts user
Sent: 2/6/02 4:39 PM
Subject: Re: Multiple Forms on one JSP...
I know that works
8 matches
Mail list logo