2 Replies Latest reply on Jan 11, 2006 8:49 PM by sportsbaby1980

    How to use struts or other mvc with JBoss portal 2.2?

      I have read all the User Guide and refrence guide.
      I write a portlet with a doview method:

      protected void doView(RenderRequest rRequest, RenderResponse rResponse)
       throws PortletException, IOException, UnavailableException {
       rResponse.setContentType("text/html");
       javax.portlet.PortletRequestDispatcher pRD =
       this.getPortletContext().getRequestDispatcher("/helloworldportlet/hello.do");
       pRD.include(rRequest, rResponse);
       }
      


      but it does not work!
      AnyOne help me?
      Thanks a lot