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
_________________________________________________________________
Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it
now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033