8 Replies Latest reply on Dec 7, 2007 7:20 AM by Burkhard Vogt

    Accessing HttpServletRequest from RenderRequest

    David Hoffman Newbie

      I am attempting to access the actual HttpServletRequest (specifically a cookie value) from the RenderRequest object and failing miserably.

      Does anyone know if maybe I am just blind and not finding it in the API? Is there another way to access cookies from the browser that I am just missing?

      I have also tried the following but just end up with a JBossRenderRequest object which does not appear to be castable to a HttpServletRequest either.

      JBossRenderRequest req = (JBossRenderRequest)request.getAttribute("javax.portlet.request");