users@jersey.java.net

What does it take to recognize a hierarchy formatted URI?

From: William Brogden <wbrogden_at_bga.com>
Date: Thu, 27 Mar 2008 05:04:45 -0500

Using the steps in
https://jersey.dev.java.net/use/getting-started.html

I used NetBeans 6.0 to create a simple Restful Web Service
using the Singleton Pattern. I put some simple debugging
String return in the getHtml() method. Deployment to
Tomcat 6.0.14

Doing a GET with this query formatted URI
  http://localhost:8080/MetaPhone2/resources/lookup?word=varmit
works as expected.

Using this hierarchy formatted GET
  http://localhost:8080/MetaPhone2/resources/lookup/word/varmit

results in a 404 not found response.

What do I have to do to get it to map a hierarchy formatted GET
to the "lookup" path?

Casual inspection of the Jersey 0.6ea examples show pleny of
hierarchy formatted URIs in use.

Bill