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
else.

--
Martin Cooper


On 3/7/07, Christopher Giblin <[EMAIL PROTECTED]> 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

Reply via email to