Hmm.. The ServletContext is accessible from @Inject anywhere--does this
solve your problem? Or do you require it inside the module?
Dhanji.

On Fri, Feb 27, 2009 at 2:06 AM, Rex Sheng <[email protected]> wrote:

>
> Hi, Dhanji,
>
> How getInjector() get to know about the servletContext, when sometime
> we measure relative paths at that point?
>
> So, in my projects, I replaced it with getInjector(ServletContext sc).
>
> Is this right?
>
> Thanks,
>
> Rex
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to