Doug Schnelzer wrote:
I have a question about how to reference an image in a JSP that is included
in a Portlet.
I am including a JSP in my portlet using:
PortletRequestDispatcher dispatcher =
getPortletContext().getRequestDispatcher("/menu.jsp");
dispatcher.include(renderRequest, renderResponse);
I tried creating an images directory and referencing the image source using
<img src="/images/logo.gif"/>
The portlet comes up in Jetspeed2 (Tomcat 5.0.28), but the image can't be
found. I can see the image when I add the portlet application name in the
src path. Do I need to do this for all URL's? This seems like a pretty
important concept so maybe I am missing something.
I've just reproduced it.
Could you please log an issue in JIRA for the M1 release?
Thanks,
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773 4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]