users@jersey.java.net

Re: [Jersey] Jersey and url-pattern.

From: Damian Steer <d.steer_at_bristol.ac.uk>
Date: Thu, 11 Feb 2010 10:48:39 +0000

On 11 Feb 2010, at 08:40, Paul Sandoz wrote:

> Hi Damien,
>
> When deployed to 1.0.3.1 what path served to the Translator resource:
>
> <context>/translate/translate
>
> or
>
> <context>/translate
>
> ?

The latter. Sorry for omitting that detail. For completeness this was deployed and working on google app engine.

> If you change the @Path to @Path("/") the he path served to the Translator resource will be
>
> <context>/translate/

This is probably the best compromise.

Thanks for your help.

Damian