you can submit multiple forms using javascript like 
document.forms[0].submit(); .. and so on..
keep in mind to have different targets for each forms.

----- Original Message ----- 
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, August 12, 2004 4:20 PM
Subject: Re: Multiple forms in one JSP + one Action


> Hollaway, Shedrick CIV (TRFKB C600) wrote:
> 
> > Micheal
> > I was trying to submit all three at one time. 
> 
> I've been doing Struts for a long time now and have never run across a 
> case where I had to do submit more than one form from one click. You can 
> have as many forms as you want on a page though and you can even have 
> them use the same action class. Why would you need more than one form to 
> submit at the same time? If you needed info from the different forms all 
> in one request it sounds like a case where you would just build a new 
> ActionForm. The ActionForms simply represent the view to the user. You 
> might want to explain more what you are trying to do. Also you can't 
> nest forms in HTML so how can you do what you are trying to do in 
> Struts? Tell us what you are trying to accomplish from a business 
> perspective and I'm sure we could help you with a cleaner solution.
> 
> -- 
> Rick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to