1.) Make sure your portlet extends javax.portlet.GenericPortlet
2.) Try setting the response content type before dispatching
3.) you might want to get rid of the encodeURL call

I simply use


  | response.setContentType("text/html");
  | PortletRequestDispatcher dispatcher = 
this.getPortletContext().getRequestDispatcher("/jsp/helpPage.jsp");
  | dispatcher.include(request, response);
  | 

with no problems

Hope this helps.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to