On 10/28/07, James Lin <[EMAIL PROTECTED]> wrote:
> dear all:
>
> I have read one sample from Tapestry website
> http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest
>
>   @Inject
>     private RequestGlobals requestGlobals;
>
>     public void onActivate(Object context) {
>         HttpSession session = 
> requestGlobals.getHTTPServletRequest().getSession();
>         ...
>     }
>
> But I got problem comping this code for line @Inject
> I thought Tapestry 5 should have a regular,simple way to retrieve it

That should work without problems. What happens for you?

-- 
        regards,
        Robin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to