struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nadja Senoucci <Nadja.Senou...@zmnh.uni-hamburg.de>
Subject Re: Re[2]: Question about the form tag
Date Wed, 16 Jul 2003 13:05:43 GMT
Hello again,

>Lets try to understand what Struts is doing behind the scenes. Your
>request gets submitted and it will contain a lot of parameters.
>Actually it will contain parameters with the same name. For form1 it
>is name, for form2 it is again name. And so on. Now Struts tries to
>put this into your action form. It grabs one parameter (the first one)
>and populates your form. If this is correct (depends on your jsp) a
>solution would be to use indexed props.

Thanks for the answer.

Hmm, indexed props... Haven't made good experiences with them, yet. Which
means: Couldn't get it to work right, yet. ;) Can I make a submit button
indexed as well? Otherwise, I would still have a problem with getting the
right data as I would not know which form's buttons has been pressed.

Greetings,
Nadja

---------------------------------------------------------------------
Nadja  Senoucci
Universitaet Hamburg
Zentrum für Molekulare Neurobiologie
Service-Gruppe EDV
Falkenried 94
20251 Hamburg
Germany
Tel.:040 - 428 - 03 - 6619
Fax.:040 - 428 - 03 - 6621


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message