The simplest thing might be to turn MyFilter into a servlet and do

serve("*.css").with(MyFilter.class);

It must come before MyServlet's mapping. Then, you just forward to the
appropriate CSS file.

If you absolutely want to use a filter, forward the request in the filter
and don't call FilterChain#doFilter, which will interrupt the filter and
servlet execution chain.

Moandji

-- 
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