1 Reply Latest reply on Dec 20, 2006 8:14 AM by sridhark79

    Struts Portlet

    sridhark79

      Hi All,
      I am using a Struts Application which has been ported into the Jboss Portal Server. The portal has been working fine. Thanks to the JBoss Struts Bridge. Now how can i get the PortletPreferences to my Struts Action class so that i store state data for each users.

      I was going through documentation on Struts brigde but they havenot mentioned abot the prefences. Can any one help me out in this.?

      Thanks in Advance
      Sridhar

        • 1. Re: Struts Portlet
          sridhark79

          Hi,

          Got hold of the solution.

          We need to get get the PortalRequest from the HTTPServlet Request by using the getAttribute javax.portal.request.

          Once we get the PortalRequest we can get the preferences and set the value and store it.

          Thanks & Regards
          Sridhar