commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <>
Subject Re: UploadServlet: why does parseRequest() not return a Map?
Date Thu, 08 Mar 2007 06:29:24 GMT
I'm not the original API designer, so I can't give you a definitive answer.
However, returning a Map would result in a loss of information, since you
would no longer know the order in which the parts were submitted. While that
information might not be important to you, it might be crucial to someone

Martin Cooper

On 3/7/07, Christopher Giblin <> wrote:
> Hi,
> I am looking at UploadServlet for the first time and wondering the obvious
> - why does parseRequest() return a List and not a Map? I already see that
> I will write a utility to convert the List to a Map so that I can retrieve
> form params by name as per servlet programming style?
> Sorry if this has been asked a million times.
> Thanks, chris

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message