<font face="Courier" size="1">
<div>Hi i am experimenting with that jsp example helloworldjspportlet.war that is provided for jboss portal 2.6.5</div>
<div>and have problems with quite basic things. In the java portlet i can see that there are jsp pages</div>
<div>used for each of those 3 modes (View, Edit and Help), view.jsp, view2.jsp, edit.jsp and help.jsp</div>
<div>So i figured i should be able to use other jsp pages like that (forex index.jsp) but the portal just dont seem to except anything else but view.jsp and view2.jsp in view mode so then i simply take a copy of view.jsp and change text in it i still get the old view.jsp. And yes i am sure i am building and deploying stuff correctly, i was actually been able to change context of view.jsp to</div>
<div>something else but not to use index.jsp or something instead.</div>
<div> </div>
<div> rRequest.setAttribute("yourname", sYourName);<br> PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/index.jsp");<br> prd.include(rRequest, rResponse);</div>
<div> </div>
<div>Another problem i experienced is that i dont seem to be able to bundle images in the same .war</div>
<div>When i use <img src="<a href="http://localhost:8080/portal/cotent/default/..." target="_blank">http://localhost:8080/portal/cotent/default/...</a>.> way of refering to the picture then no problem</div>
<div>but if i place the picture in the same map in the .war as the jsp page and directly refer to it then no, it wont find it.</div>
<div> </div>
<div>I am using Jboss Portal 2.6.5 GA</div>
<div> </div>
<div>Any Experiences, Ideas on that matter ?<br></div>
<div>/Alexander</div></font>