users@jersey.java.net
What does it take to recognize a hierarchy formatted URI?
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
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
This message
: [
Message body
]
Next message
:
Marc Hadley: "Re: What does it take to recognize a hierarchy formatted URI?"
Previous message
:
Paul Sandoz: "Re: help on query string"
Next in thread
:
Marc Hadley: "Re: What does it take to recognize a hierarchy formatted URI?"
Reply
:
Marc Hadley: "Re: What does it take to recognize a hierarchy formatted URI?"
Reply
:
Martin Grotzke: "Re: What does it take to recognize a hierarchy formatted URI?"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]