Two questions relating to Guice-Servlets equivalence with web.xml (or lack
of it)...


SPECIFYING FILTER DISPATCHER

How do I specify the dispatcher for a given Filter - according to the
web.xml standard you can apply a filter only to the REQUEST dispatcher, and
not the FORWARD or INCLUDE dispatchers like...
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<url-pattern>*.ftl</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>

I can't find an equivalent in Guice-Servlets. Can anyone point me to a
solution?

This issue seems to have already been raised, but no answer in that thread
either...
http://groups.google.com/group/google-guice/browse_thread/thread/add55edbdbfea24c/79cc27e3fb8d986f?lnk=gst&q=web.xml#79cc27e3fb8d986f


INJECTING SERVLETS DECLARED IN web.xml

Because of bug 647
http://code.google.com/p/google-guice/issues/detail?id=647 I probably can't
use Guice-Servlets for routing since it is not equivalent to web.xml in its
forwarding behaviour, breaking Stripes. If I don't route through
Guice-servlets (e.g. I use web.xml for routing), how do I arrange for a
Servlet declared in web.xml to be injected by Guice-Servlets as part of its
normal lifecycle?

Cefn
http://cefn.com

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