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");
For this 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
in view.jsp ,but this not work