2 Replies Latest reply on Oct 15, 2005 4:11 AM by Poyan Gerami

    forward jsp

    Poyan Gerami Novice

      Hi
      I try to do a forward from one portelt to one jsp, i get this exception:
      java.lang.IllegalStateException: No content type defined

      Portlet:

      private String jspDir = "/jsp/";
      public void doView(RenderRequest req, RenderResponse res)
       throws IOException, PortletException {
       PortletRequestDispatcher prd =
       getPortletContext().getRequestDispatcher(jspDir + "kategori.jsp" );
       prd.include(req, res);
      
       }
      


      Jsp:
      <%@ page info="shop" session="true" %>
      <html>
       <head>
       <title>Shop</title>
       </head>
       <body>
       kategori:
       </body>
      </html>