This content has been marked as final.
Show 1 reply
-
1. Re: PortletRequestDispatcher didn't work
bsmithjj Oct 11, 2005 4:49 PM (in response to dzhang2k)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 useresponse.setContentType("text/html"); PortletRequestDispatcher dispatcher = this.getPortletContext().getRequestDispatcher("/jsp/helpPage.jsp"); dispatcher.include(request, response);
with no problems
Hope this helps.