You can only submit one form at a time. This is an http issue - not a Struts
one.

The solution I have used is to combine all the neccessary fields into a
single form. 

I typically do this with nested objects  - so my form bean would have two
properties "data" & "search" say. These objects themselves contain the
String properties for user input. If you are using JSPs then the nested
taglib makes rendering this stuff easy.

Paul

> -----Original Message-----
> From: Fleischle, Samuel [mailto:[EMAIL PROTECTED]
> Sent: 2005/27/04 09:48
> To: user@struts.apache.org
> Subject: Multiple forms on one page
> 
> 
> Does Struts support more then one form on a single page?
> 
>  
> 
> In my application I put two forms on one page, one form 
> containing the data
> and one form containing some search fields. I define one form 
> bean for each
> form. But if I submit one of these forms, e.g. the search 
> form, I got only
> one form filled with data by my form bean.
> 
>  
> 
> Is there a way, Struts provides to forms?
> 
>  
> 
> Regards,
> 
> Sam
> 
> 

Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you 
are not the addressee indicated in this message (or responsible for delivery of 
the message to such person), you may not copy or deliver this message to 
anyone. In such case, you should destroy this message, and notify us 
immediately. If you or your employer does not consent to Internet email 
messages of this kind, please advise us immediately. Opinions, conclusions and 
other information expressed in this message are not given or endorsed by my 
Company or employer unless otherwise indicated by an authorised representative 
independent of this message.
 
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being 
transmitted via electronic mail attachments we cannot guarantee that 
attachments do not contain computer virus code.  You are therefore strongly 
advised to undertake anti virus checks prior to accessing the attachment to 
this electronic mail.  Axios Systems Ltd grants no warranties regarding 
performance use or quality of any attachment and undertakes no liability for 
loss or damage howsoever caused.


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

Reply via email to