users@jersey.java.net

Binding resource to base uri

From: ???? ????????? <sunsunich_at_gmail.com>
Date: Thu, 5 Mar 2009 18:35:07 +0300

Hello!
I`m new in RS. I`ve started with jersey and got a little problem: I
mapped jersey servlet to "resource/*" and created resources with
@Path("/") and @Path("{project}/"). When I'm trying to GET
"http://localhost/resource/" it returns the "{project}/" resource, not
"/". The uriInfo.getPathParameters().getFirst("project") returns
"resource"... Is it possible to bind resource to "/"?

Thanks in advance.