error in http://www.vogella.de/articles/REST/article.html

16 views
Skip to first unread message

martin wignall

unread,
Nov 3, 2010, 1:48:53 PM11/3/10
to vogella
Hi,
In your article http://www.vogella.de/articles/REST/article.html, I
think there is an error. Looks to me like:

Test your REST service under: "http://localhost:8080/
de.vogella.jersey.first/rest/hello". You should get the message "Hello
Jersey".

Should read:

Test your REST service under: "http://localhost:8080/test-restful-ws/
rest/hello". You should get the message "Hello Jersey".

Lars Vogel

unread,
Nov 3, 2010, 2:59:43 PM11/3/10
to vog...@googlegroups.com
Thanks. I look at this next week. This week is too busy.

2010/11/3 martin wignall <martin....@gmail.com>

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vogella?hl=en.




--
Lars
http://www.vogella.de - Tutorials about Java, Eclipse and Web programming
http://www.twitter.com/vogella - Lars on Twitter

Russell Bateman

unread,
Nov 3, 2010, 7:42:15 PM11/3/10
to vog...@googlegroups.com
The URI I used (and that worked perfectly) was:

    http://localhost:8080/de.vogella.jersey.first/rest/hello

Now, maybe Lars has changed something and the path I used is no longer good or maybe you decided not to choose the names he uses in his tutorial (for instance, I'm not certain where you're getting your "test-restful-ws" from), but this worked for me.

You might have posted your web.xml file; that would help.

Russ


Subject: error in http://www.vogella.de/articles/REST/article.html
Sent: Wednesday, 03 November 2010 10:48:53 -0700 (PDT)
From: martin wignall <martin....@gmail.com>
To: vogella <vog...@googlegroups.com>


Lars Vogel

unread,
Nov 4, 2010, 4:29:27 AM11/4/10
to vog...@googlegroups.com
Thanks Russ. I have not changed the content in the REST tutorial since a while so I assume it works correctly.

@Martin: If you still have issues let us know.

2010/11/4 Russell Bateman <ru...@windofkeltia.com>

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vogella?hl=en.
Reply all
Reply to author
Forward
0 new messages