users@jersey.java.net

Re: [Jersey] uri matching ambiguity?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 06 Jun 2008 10:32:58 +0200

Paul Sandoz wrote:
> You can work around this by having one root resource of "{tenant}" and
> two sub-resource locators of "providers" and "member". Alternatively you
> can have root resources of "/{tenant}/providers", "/{tenant}/member",
> and "/{tenant}/member/{id}".
>

Alternatively make the root resource templates:

   "provider/{tenant}"

   "member/{tenant}"

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109