On Tue, Mar 3, 2009 at 3:45 PM, Craig McClanahan
<Craig.McClanahan_at_sun.com> wrote:
> Meredith Gregory wrote:
>>
>> Hi,
>>
>> As a part of an effort to put Jersey into a larger context, i'm attempting
>> to run the helloworld-webapp sample using jersey instead of glassfish. My
>> web.xml is below. When i run it all starts up without a hitch. Jersey finds
>> the resource classes. Further, it's clear that the server is eating the
>> requests. But we never hit the get method of the resource class. Any help
>> would be greatly appreciated.
>
> What is it that makes it clear that "the server is eating up the requests"?
> What kind of errors do you get back? Could you also show us a snippet of
> your resource class (particularly the @Path and @GET annotation stuff), and
> an example of the request your client is making?
I don't know if this is what happens, but that's what I have seen too,
from browser -- if the request matches servlet path, but not any of
the resources, you just get an "empty page".
Not sure what response code is (204?), but no error is displayed.
So I suspect it's mismatch between the path given and path needed to
map to specific resource method.
But to know for sure, we do need to see the resource and path used as
Craig suggested.
-+ Tatu +-