Hi to all
Sorry for my poor English I have one page and one FormBean that is populated by the form but I would like have 2 FormBean and 2 form associated at the same page Actually Form a logical point of view: My pages represent 2 different function, so there is one button for one function and another one for the other function. From a technical point of view: in my code I have only one form tag hrml:form, but inside the form there are 2 submit. Each button redirect to one of the specific action That mean that one button required only some field to be valorized and the other one require other so in my validate method I have to filter one parameter to understand wich button was been pressed and to use one of the validate method Example Validate(){ If(parameter==1) ValidateA Else ValidateB } So my question is this: * understand if with struts 1 is possible define more FormBean for the same page * If not, the only solution is to create one big FormBean that encapsulate all the data related to all the possible field that can be populated? * For the validation is there any other solution or I have to switch as I'm actually doing base on one parameter? Thanks Alessandro Ing. Alessandro D'Ottavio Elsag Datamat S.p.A. - Banking & Finance Division Financing Systems Area Department - Tadawul Via Naide 43 - 00155 - Rome Italy Fax Number : +39 06 22796324 Office : +39 06 22724617 Mobile : +39 3349067696 e-mail : [EMAIL PROTECTED] <BLOCKED::mailto:[EMAIL PROTECTED]> "Questo messaggio ed ogni suo allegato sono confidenziali e possono essere riservati o, comunque, protetti dall'essere diffusi. Se il ricevente non é il destinatario diretto del presente messaggio, é pregato di contattare l'originario mittente e di cancellare questo messaggio ed ogni suo allegato dal sistema di posta. Se il ricevente non é il destinatario diretto del presente messaggio, sono vietati l'uso, la riproduzione e la stampa di questo messaggio e di ogni suo allegato, nonché la diffusione del loro contenuto a qualsiasi altro soggetto" ***** "This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please contact the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not use, copy or print this message or attachment or disclose the contents to any other person."