1 Reply Latest reply on Feb 24, 2006 9:19 AM by mholzner

    Accessing HttpSession in Portlet Class

    arvind_pv

      Hi Everyone,

      I need to access HttpSession in Portlet class and also I need to access the PortletSession in Struts Action class

      Please help me how can I do it.

      Thanks

        • 1. Re: Accessing HttpSession in Portlet Class

           

          "arvind_pv" wrote:
          Hi Everyone,
          I need to access HttpSession in Portlet class and also I need to access the PortletSession in Struts Action class


          access to the HttpSession is easy: use application scope , i.e :
          portletRequest.getSession().getAttribute("blah", PortletSession.APPLICATION_SCOPE);

          Not sure about the struts scenarion.