Zhanming Qi
2012-01-06 06:33:04 UTC
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.
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.