users@jersey.java.net

Simple _at_Path question

From: Gregg Carrier <greggcarrier_at_gmail.com>
Date: Tue, 30 Mar 2010 14:58:34 -0700

I'm trying to match
/queries
AND
/queries.json

This is my @Path:
@Path("{dummy:/queries(\\.json)?}")

Seems like a simple enough regex - can't get Jersey to do the right thing.

Thanks!

Gregg