Comment by [email protected]:

Servlet (MyServlet.class in your case) is a Singleton and created once, if you want to path there context (request for example) related parameters you should use provider with @RequestScoped.

Or you can create a Filter for both of yours endpoints and call setParameter, then you can find you parameter in Servlet by calling getParameter instead of getInitParameter;

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