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

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-guice/-/zuAobh6zAyIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to