With Guice-servlet we can easily do servlet mapping like this: filter(*.jsp).through(MyFilter.class)
However could anyone tell me how can i map a filter to a servlet?
<filter-mapping>
<filter-name>Reporter</filter-name>
<servlet-name>SomeServletName</servlet-name>
</filter-mapping>
Thanks
I know it does not really help you, but according to this statement:
taken from here by Dhanji (I think one of the creators of the servlet extension):
https://groups.google.com/forum/?fromgroups#!topic/google-guice/njYOI32K1us
It might not be possible out of the box. Although this post is a few years old. So maybe something changed already.