users@glassfish.java.net

Jersey Samples

From: <glassfish_at_javadesktop.org>
Date: Fri, 07 Nov 2008 21:06:07 PST

Hi All,

I am trying to run the bookstore sample included in jersey. But i am not able to run it properly. First of all, i need to ask where they have set the jsp variable "it". Secondly, what is the relation between the URL pattern in web.xml and the path in bookstore resource class.

I tried many alternatives but it failed to identify the URL. It always give me 404 error. And sometimes it says that GET is not supported on this, so i add @GET annotation on getItems, than it gives error that no output writer for the resource Book.

Have anyone run this example on eclipse? please explain me how to run this example properly.

Thanks,
[Message sent by forum member 'farazali' (farazali)]

http://forums.java.net/jive/thread.jspa?messageID=315588