0 Replies Latest reply on Sep 28, 2006 6:44 AM by umesh thakare

    including jsp from one application in jboss-portal portlet

    umesh thakare Newbie

      I have jsp file names.jsp in my one application. I have downloaded hellowordjspportlet and deployed in my application means kept class and the three xml file in my application.

      In hellowordjspportlet.java contains following code

      PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/bi/jsp/view2.jsp");
      prd.include(rRequest, rResponse);

      For this jsp

      View2.jsp ----->>

      <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
      <%@ page import="javax.portlet.RenderRequest,javax.portlet.RenderResponse,javax.portlet.PortletRequestDispatcher" %>


      Hello<%= renderRequest.getAttribute("yourname") %>!


      it comes with portlet

      it work sucssesfully,

      but instead of view2.jsp, if i write myjsp name ie names.jsp which is at same location, it doesnot work

      Any one can suggest me, why this is not work

      How can i include or forward to names.jsp?

      i inncluded names.jsp
      <jsp:include page="/bi/jsp/names.jsp"></jsp:

      in view.jsp ,but this not work