Try filter("/*/abc/*").through(MyFilter.class, params). I would advise
you to be careful, however. You might want to make the path a little more
explicit incase you have other servlets that might erroneously match that
same path.
On Thu, Apr 18, 2013 at 4:29 AM, Moandji Ezana <[email protected]> wrote:
> The filter mapping doesn't match the URL. What you have now would only
> match localhost:8080/abc/...
>
> Mwanji
> On Apr 18, 2013 11:25 AM, "Shagun Agarwal" <[email protected]>
> wrote:
>
>> Hi,
>>
>> I'm using filter("/abc/*").through(MyFilter.class, params)
>> in configureServlets() however this doesn't work & MyFilter is not invoked,
>> however if i use filter("/*").through(MyFilter.class, params) it works.
>> My request is http://localhost:8080/v1/user/12SD3/abc/.
>>
>> I'm using Guice 3.0.
>>
>> Thanks
>> Shagun
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "google-guice" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/google-guice?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-guice?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.