users@jersey.java.net

Re: [Jersey] _at_GET and _at_Context HttpServletRequest

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 12 Jun 2009 09:54:06 +0200

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.

Paul.

> thanks!
>
> /i
>
>>
>> Paul.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>