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

    Accessing HttpSession in Portlet Class

    arvind p Newbie

      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
          Woodler Expert

           

          "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.