nash e. foster wrote:

I've used code like this in my Action class execute/perform method:


String inputs[] = request.getParameterValues(s); for (int x = 0; x < inputs.length; x++) {
String oneInput = inputs[x];
dosomething(oneInput);
}


This seems to work quite well, assuming all the form <input> tags are named the same. I don't know struts well enough, yet, to know whether you can have an ActionForm property be a Collection type, or not. Would be interested in the answer, though. It wouldn't have mattered in my application, though, as I needed to generate an entire form dynamically, so it would have been a wash, either way.

-nash

thanks for your response nash, now, sorry if this mail bothers you, but i'm unable to get the values for my html input controls in the Action nor in a test servlet, can you please send me som sample code of how you generate your dynamic inputs and how you recover that values? i'm attaching my code, so if your not able toe send me anything, at least maybe you can point me in the right direction :)


thanks in advance, and best whishes.

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

Reply via email to