[jboss-user] [JBoss Portal] - Re: Is there any other example other then the hello world ex

PeterJ do-not-reply at jboss.com
Fri Nov 17 18:49:26 EST 2006


I think this is what you are looking for.  In the doView method in your portlet, do this:

  protected void doView(RenderRequest request,
  |       RenderResponse response) throws PortletException, IOException{
  |     . . .
  |     response.setContentType("text/html");
  |     PortletRequestDispatcher prd =
  |       getPortletContext().getRequestDispatcher("myTask.jsp");
  |     prd.include(request, response);
  |   }


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

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



More information about the jboss-user mailing list