Hi,

I want to filter out my css files from being served by MyServlet. How
do I do this? I have the following in my WebModule, but what does the
MyFilter.java(extends GuiceFilter) look like - i.e. what do I do in
the doFilter method?

public class WebModule extends ServletModule {

        @Override
        protected void configureServlets() {
           filter("*.css").through(MyFilter.class);
            serve("/*").with(MyServlet.class);
       }
}

Thanks!
Will

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
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