[jboss-user] [JBoss Portal] - Re: Access and display content stored in CMS

sjewett do-not-reply at jboss.com
Mon Jan 21 15:22:27 EST 2008


My portlet class looks like this:

  | public class RetailMarketingPortlet extends GenericPortlet {
  | 
  |    protected void doView(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException
  |    {
  |       rResponse.setContentType("text/html");	      
  |       PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/content/Retail/1Marketing.html");
  |       prd.include(rRequest, rResponse);
  |    }
  |  
  | }
  | 

Thanks.

When I run it and try to access the portlet, I get:

anonymous wrote : 
  | The requested resource (/retailmarketing/content/Retail/1Marketing.html) is not available 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121946#4121946

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121946



More information about the jboss-user mailing list