users@jersey.java.net

Re: [Jersey] WebResource.queryParam ?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 07 Sep 2009 08:45:41 +0200

On Sep 6, 2009, at 5:09 PM, Felipe Gaścho wrote:

> this line works:
>
> WebResource resource = arena.path("institution/0/50");
> // http://fgaucho.dyndns.org:8080/arena-http/institution/0/50
>
> this line throws an exception:
>
> WebResource resource = arena.path("institution/
> 0/50").queryParam("role", "JUG");
> http://fgaucho.dyndns.org:8080/arena-http/institution/0/50?role=JUG
>
> why ?

What version of Jersey are you using and what exception is being thrown?

I cannot reproduce using trunk.

Paul.