struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Markert <>
Subject Re[4]: Question about the form tag
Date Wed, 16 Jul 2003 13:41:50 GMT
Hello Nadja,

     I just made a small test with multiple forms on one page. I only
     get the params of the form to which the submit action belongs!?


NS> 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.

NS> Thanks for the answer.

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

NS> Greetings,
NS> Nadja

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

NS> ---------------------------------------------------------------------
NS> To unsubscribe, e-mail:
NS> For additional commands, e-mail:


+------- Quality leads ---------------------------------------+
| Dirk Markert            |
| Dr. Markert Softwaretechnik AG                              |
| Joseph-von-Fraunhofer-Str. 20                               |
| 44227 Dortmund                                              |
+---------------------------------->>>>>>> to success! <<<<<<-+

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message