2 Replies Latest reply on Jul 18, 2008 12:10 AM by senthilkumar.devan

    How to load CMS page in portlet

    senthilkumar.devan

      Hi,

      I have test.html in my CMS. I have created a portlet class and i am trying to access the test.html in my portlet class.

      PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/portal/content/default/test.html");
      prd.include(request, response);

      But i get error as

      The requested resource (/helloworldjspportlet/portal/content/default/test.html) is not available

      Can any one tell what is the correct way to access CMS content in the portlet class.

      Thanks & Regards,
      Senthil Kumar Devan