This content has been marked as final. Show 1 reply
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.