Hi </thorsten>

I don't know for sure. That's why I asked if I was right... :)

Anyway:

(1) How do you associate 2 ActionForms to the same Action (and have
them automatically associated and populated by Struts)?

(2) Assuming 1 is possible (I'd really appreciate if you could explain
me how to acomplish that), what sense does it make to have 2 ActionForms
variables if only one form can be submitted at a time anyways? (maybe
I'm missing something else)

(3) Despite 1 and 2, there must be a method to obtain the ActionForm(s)
associated to an Action (during an specific request / post). Right?

Regards,
Freddy.

-----Mensaje original-----
De: news [mailto:[EMAIL PROTECTED] En nombre de Thorsten Scherler
Enviado el: mi�rcoles, 04 de febrero de 2004 17:20
Para: [EMAIL PROTECTED]
Asunto: Re: Accessing ActionForm from Servlet (was: Pajes + Struts)

Villalba Arias, Fredy [BILBOMATICA] <fvillalba <at> mailext.com> writes:

> (3) It is not possible to have more than one ActionForm associated to an

> Action (at the same time), i.e. it's a 1:1 relationship (again, am I right?)



That's not true! I am using an Action with 2 ActionForms:

ServiceForm serviceForm = (ServiceForm) form;

ServiceExForm serviceExForm = (ServiceExForm) form;



...or did I not understood you

King regards

</thorsten>


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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.459 / Virus Database: 258 - Release Date: 25/02/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.459 / Virus Database: 258 - Release Date: 25/02/2003
 

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

Reply via email to