Bug 41619 - multiple elements with the same name aren't handled correctly
Summary: multiple elements with the same name aren't handled correctly
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Input Taglib (show other bugs)
Version: 1.1
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2007-02-15 01:53 UTC by Raj Bhaskar
Modified: 2007-04-22 01:20 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Raj Bhaskar 2007-02-15 01:53:21 UTC
Using input 1.1, if I have two text boxes with the same name, I can access all
the responses through a servlet with the
ServletRequest.getParameterValues(String) method.  However, <input:text /> (and
the other input tags) only ever picks up the first element, even if there is
more than one.
Comment 1 Karl von Randow 2007-04-22 01:20:19 UTC
Support for multiple elements with the same name has been added to the subversion repository in revision 
531148. There are two example pages (currently array.jsp and array2.jsp) showing how this works. The 
support is automatic and should work as you expect. I will be aiming for a release soon, please email me if 
you'd like a jar sooner.