users@jersey.java.net

[Jersey] Re: How can parent URI and sub URI in different classes

From: Zhanming Qi <qizhanming_at_gmail.com>
Date: Thu, 5 Jan 2012 22:33:04 -0800 (PST)

Hi,

Found the way:
@Path("")// This is the point, change "/" to ""
public class IndexResource {
......
}

@Path("/login")
public class LoginResource {
......
}

Thanks.

--
View this message in context: http://jersey.576304.n2.nabble.com/How-can-parent-URI-and-sub-URI-in-different-classes-tp7157180p7157429.html
Sent from the Jersey mailing list archive at Nabble.com.