On Feb 23, 2010, at 12:09 AM, Marc Hadley wrote:
> By default path template parameters are limited to a single path
> segment so you either need to percent encode the '/' characters in
> the URL or change the @Path value to match multiple path segments
> like this @Path("{inchiname: .+}").
>
Also, i recommend using UriBuilder to build a URI then converting that
to a URL. Furthermore, you could use the Jersey Client API:
Client c = ...
URI u = UriBuilder.fromUri(...)...build();
return c.resource(u).get(String.class);
Paul.