> Also, note that a Map is not sufficient since you could have several 
> arguments for one key.

True, but you could always play games like 

        foo => bar,quux,baz or 
        foo => Array[ bar, quux, baz ]

I map is very convenient, and I don't really see why you would want to
pass multiple values for a single key, a-la 

        foo=bar&foo=bar&foo=bar 


M

Michael Scovetta
Computer Associates
Senior Application Developer

-----Original Message-----
From: Lukas Bradley [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 9:20 AM
To: Jakarta Commons Users List
Subject: Re: Translating Query String into Map and vice versa?


> Also, note that a Map is not sufficient since you could have several 
> arguments for one key.

Nice catch.  Forgot about that.


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





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

Reply via email to