Comment by tastycaj...@gmail.com:

This is incredibly frustrating. This is also why I HATE wiki documentation. Too much is assumed. PLEASE provide an example that details how to inject something into a servlet after you've done the following:

*setup the guiceFilter
*created an injector and instantiated a new ServletModule in a GuiceServletContextListener and *added the listener to web.xml
*bound serve("*.jsp").with(IndexController.class); in configure servlets

I use ninject and asp.net mvc 3, but for this particular project I must JSP and servlets and with ninject you simply supply the constructor with the dependencies and your done. Is this how you use guice? I'm very confused! Please help!!

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

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to google-guice-dev@googlegroups.com.
To unsubscribe from this group, send email to 
google-guice-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to