I don't know what I'm missing here or if it's because I'm using gwt- Dispatch but, do I need to write something in the module class to get it work ? I keep getting :
1) Error in custom provider, com.google.inject.OutOfScopeException: Cannot access scoped object. Either we are not currently inside an HTTP Servlet request, or you may have forgotten to apply com.google.inject.servlet.GuiceFilter as a servlet filter for this request. I only have added the anotations required according to the doc. Christian On Aug 30, 8:11 am, "Dhanji R. Prasanna" <[email protected]> wrote: > On Sun, Aug 30, 2009 at 7:45 PM, Erdinc <[email protected]> wrote: > > > Dhanji, thanks for your reply. Is there a documentation about which > > classes in the servlet API are injectable to where? Can I also inject > > HttpRequest, ServletContext etc? I checked the wiki on code.google.com > > but I couldn't find any info. It makes sense that HttpSession is > > injectable to a class which uses session scope. > > Yes, you can inject: > > HttpServletRequest, HttpServletResponse, HttpSession, ServletContext, > @RequestParameters Map<String, String>[] > > I will update the doc accordingly. > > Dhanji. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" 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?hl=en -~----------~----~----~----~------~----~------~--~---
