users@jersey.java.net

Re: [Jersey] _at_GET and _at_Context HttpServletRequest

From: Igor Minar <iiminar_at_gmail.com>
Date: Tue, 16 Jun 2009 08:46:08 -0700

done: https://jersey.dev.java.net/issues/show_bug.cgi?id=312

thnx,
Igor

On Jun 16, 2009, at 3:19 AM, Paul Sandoz wrote:

>
> On Jun 12, 2009, at 8:11 PM, Igor Minar wrote:
>
>>
>> On Jun 12, 2009, at 12:54 AM, Paul Sandoz wrote:
>>
>>>
>>> On Jun 12, 2009, at 9:03 AM, Igor Minar wrote:
>>>>
>>>>>
>>>>> Are you deploying using a Web container?
>>>>
>>>> I'm using SimpleServerFactory.
>>>>
>>>
>>> That explains it, you are not using a Web container that supports
>>> Servlet, hence there is no HttpServletRequest to inject.
>>>
>>> Use GrizzlyWebContainerFactory instead, as shown in the helloworld
>>> sample.
>>
>> oh yeah, that explains a lot!
>>
>> Maybe the error message could be changed to be a bit more helpful?
>>
>
> I agree, we should signal which parameter could not be injected.
> Could you log an issue?
>
> Thanks,
> Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>