On Wed, Jun 17, 2009 at 9:21 AM, Turner, George <george.turner_at_lmco.com>wrote:
> Thanks Paul.
>
> This is a REALLY surprising answer, because I would think it is a
> non-standard usages of query parameters. Most implementations would
> throw all of the parameters into a Map and then you would only be able
> to retrieve the last one entered. I was expecting a pipe "|" or
> something but not this answer. Is there a W3C reference to this style?
> I had a class like the one given that split on a comma, but dropped it
> to use the List<T> construct, but couldn't get it to work, but now I
> know why.
>
> Thanks
>
> Gene
>
I don't see what's surprising about it. This is how checkboxes in HTML
forms work. In the Java Servlet api this corresponds to:
http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletRequest.html#getParameterValues(java.lang.String)
--
Stephen Duncan Jr
www.stephenduncanjr.com