users@grizzly.java.net

Re: filter-mapping and Grizzly

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Tue, 11 Jan 2011 13:44:15 +0100

Hi Amrit,

unfortunately it's still the case.
Currently servlet filters are getting executed as part of
ServletAdapter execution. And mapping could be set only for
ServletAdapter, not specific Filter.

Thanks.

WBR,
Alexey.

On Jan 11, 2011, at 13:13 , amrit wrote:

>
> Hi,
>
> Can anyone please let me know which Grizzly API s should be used if
> I want
> to use the filter-mapping from web.xml file along with "url-
> pattern"? e.g.
>
> <filter-mapping>
> <filter-name>AFilter</filter-name>
> <url-pattern>/url/*</url-pattern>
> </filter-mapping>
>
>
> So I want to acces "AFilter" only when the URL pattern matches to "/
> url/*".
>
> The following link says that the faeature is not supported, is that
> true
> still?
>
> http://markmail.org/message/u5scsjxwbn4hmfc2
>
> Regards,
>
> Amrit
> --
> View this message in context: http://old.nabble.com/filter-mapping-and-Grizzly-tp30643018p30643018.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>