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
stackoverflow: http://stackoverflow.com/questions/9021672/how-to-map-a-filter-to-a-servlet-using-guice-servlet