users@jsr311.java.net

Fall back to root resource with the broader uri-space

From: Reto Bachmann-Gmuer <reto.bachmann_at_trialox.org>
Date: Sun, 7 Nov 2010 14:03:08 +0100

Hello,

Assume there is a root resource with @Path("/") with a resource method for
@Path("{path:.*}") and a root resource for @Path("/foo") with no method
matching the subpath "bar". Is it ok for an implementation to forward the
request for /foo/bar to the method of the first root resource or is it
necessary to answer with 404?

Cheers,
Reto