Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by DavidPeterson: http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest New page: Tapestry encapsulates the HTTP servlet request, response and session, and you should not normally need to access them directly. However, sometimes it is necessary. For example, Acegi Security stores exception messages in the !HttpSession. The underlying HTTP servlet mechanics are available via the [http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/services/RequestGlobals.html RequestGlobals] service. == Example == {{{ @Inject private RequestGlobals requestGlobals; public void onActivate(Object context) { HttpSession session = requestGlobals.getHTTPServletRequest().getSession(); ... } }}} --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
