users@grizzly.java.net

Re: Support for applications which use only a Filter class, no Servlet

From: Hubert Iwaniuk <neotyk_at_kungfoo.pl>
Date: Tue, 1 Sep 2009 14:46:08 +0200

Hi Naresh,
Could you provide a test case?

Thanks,
   Hubert.


On Tue, Sep 1, 2009 at 1:56 PM, Naresh <Srinivas.Bhimisetty_at_sun.com> wrote:

> Hi,
>
> I'm working on the Jersey Test Framework which supports multiple container
> types, and Grizzly is one of them.
>
> I have hit an issue with the Grizzly support for filters. In one of our
> requirements we have a case where the application would not be having a
> Servlet, but would be using a Filter instead. As per this requirement, I
> tried creating a ServletAdapter instance, which has no Servlet set, but the
> Filter is added to it. It is observed that when a request is sent for this
> deployed application, it produces an empty response. It however works fine
> when a Servlet instance is set together with the Filter.
>
> Does Grizzly allow deploying and/or running an application which works on
> a Filter class, rather than a Servlet, i.e., no Servlet to be used in the
> application?
>
> Thanks,
> Naresh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>