Comment by [email protected]:

Is there any way to make something like this work:

serve("/someurl").with(MyServlet.class, someParams)
serve("/otherurl").with(MyServlet.class, otherParams)

problem is that after first binding went off someParams are injected into Singleton MyServlet servlet, and then otherParams are ignored.

For more information:
http://code.google.com/p/google-guice/wiki/ServletRegexKeyMapping

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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-dev?hl=en.

Reply via email to