Jersey 1.0.1 has the following issue:
@Path("/resource")
public class OldResource {
@POST
@Path("/a")
public void echo(String s) {
...
}
}
@Path("/resource")
public class NewResource {
@POST
@Path("/b")
public void echo(String s) {
...
}
}
Common resource path makes available only one of them, therefore there
is no availability to use both resources. Could please you clarify has
a new Jersey release fix for this issue?
Could you provide a way to implement overriding of default action in
Jersey 1.0.1 to make available both resources with common path?