users@jsr311.java.net

Re: QueryParams

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Mon, 10 Mar 2008 12:51:22 -0400

On Mar 10, 2008, at 12:30 PM, Sergey Beryozkin wrote:
>
> Suppose the following query is issued :
>
> ?bar
>
> with no "=foo" part being available.
>
> What should be the value of the corresponding query parameter in
> this case ?
>
> Null or empty string ?
>
Empty string, value would be null if bar was not present at all.

>
> Same question for MatrixParam...
>
Same as query parameter.

Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.