The issue is one of distinct element names when you use an iterator to
create your form.  I found the solution by way of the "indexed=true"
property of html:text  It produces a parameter name of "element[0].name" -
where element is the name given to the iterator object and the bracket
represents the index of the iterator.  

Apparently this is new though because I had to install the nightly build in
order to use it.

Jeff

-----Original Message-----
From: Marcus Brito [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 10:40 AM
To: Struts Users Mailing List
Subject: Re: collecting parameters from a dynamic form


Em Seg, 2002-02-04 às 14:11, Jeff Oberlander escreveu:
> request.getParameter("name"));
> request.getParameter("value"));
> 
> works, but of course only returns one of the sets of data - the first in
the
> form.  

Take a look at the HttpServletRequest API. If you need to get multiple
values for a parameter, you need to use the getParameterValues() method.

-- 
Ja ne,
   Pazu
   mailto: [EMAIL PROTECTED]

Anime Gaiden: de fãs para fãs, sempre.

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

Reply via email to