users@jersey.java.net

Regular Expression matching any

From: John Ament <my.reprive_at_gmail.com>
Date: Wed, 16 Jun 2010 08:46:33 -0400

I've run into an issue, and I'm not sure what I missed. I created a JAX-RS
service that i want to match anything that matches page/(.+)

So I added this to my class level:

@Path("page/(.+)")
@RequestScoped //CDI enabled

and method level:

@GET
@Produces("application/json")
public JSONObject getPage() throws JSONException {

When it deploys, jersey finds no matches. No indication that the service
was invoked.

Thanks!

John