I'm using Guice in a web app so I can use dependency injection in my
Servlets.  So those are configured with my ServletModule calling
serve("/somePath).with(MyServlet.class).

However I also have a Servlet that has no associated url-pattern rather
they would normally be configured in the web.xml via just.

<servlet>
        <servlet-name>Application Servlet</servlet-name>
        <servlet-class>com.servlet.ApplicationServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
</servlet>

How do I configure this using Guice?  Note I can't revert to the web.xml
because the Servlet does use dependency injection just like the other ones.

-Dave

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to