The session scope stores data in the HTTP session and the request scope 
stores data as attribute on the HTTP servlet request. 
See: 
https://github.com/google/guice/blob/master/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java

So if you don't have a HttpSession and HttpServletRequest in your 
application then you can not use these scopes.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/553f13e7-4e3d-4681-9fd8-5fa6c4610c48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to