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

Thanks in advance!

James

_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews

Reply via email to