google / google/guice

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

Open
#727 0 comments 0 reactions 0 assignees View on GitHub
imported
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

_From [martin.steig](https://code.google.com/u/111173321074956136832/) on September 17, 2012 02:48:21_

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: http://code.google.com/p/google-guice/issues/detail?id=727_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.