Hi, all I am very new in portal and doing some researching on this. When I study the "HelloWorldPortlet", I am looking into the java file for the portlet: HelloWorldPortlet.java. In this file, it has such method:
protected void doView(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException { rResponse.setContentType("text/html"); javax.portlet.PortletRequestDispatcher pRD = this.getPortletContext().getRequestDispatcher(JSP_PATH + "/view.jsp"); pRD.include(rRequest, rResponse); } I checked all the XML files in "helloworldportlet.war" but couldn't figure it out where the "portlet context" is defined. I am used to the web application structure and recalled that in the "/WEB-INF/web.xml", there is a <context-root> element to indicate the context root of a web application. So what's the counterpart for portlet and where to find it? Thanks. Chen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928755#3928755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928755 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user