Sep 28th, 2010, 02:51 PM
Access to HttpRequest?
I noticed in M2 on the RequestContext there was a wonderful method called getRequest() which returns a HttpServletRequest
However in M3 the RequestContext has no such method.
What is the work around to get to the HttpServletRequest in M3? My end result is getting to the HttpSession
Sep 29th, 2010, 04:10 AM
Additional levels of abstract were added around RequestContext to allow for Portlet support (i.e. they do not have access to HttpServletRequest).
Other threads have already mentioned how to get hold of HttpServletRequest:
Search the forums for "HttpServletRequest"
Sep 29th, 2010, 05:29 PM
Sep 30th, 2010, 03:34 AM