xiaodududu / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

serve().with() javax.servlet.Servlet not possible #727

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Description of the issue:
The serve().with() Binding of the ServletModule works only with HttpServlets. 
It's not possible to bind a javax.servlet.Servlet.

I would have needed this to bind the Faces Servlet: 
serve("/faces/*").with(javax.faces.webapp.FacesServlet.class);

Original issue reported on code.google.com by martin.s...@gmail.com on 17 Sep 2012 at 6:48