I have the same problem.
Tried to use
<img id="dukeimg" src="<%=renderResponse.encodeURL(renderRequest.getContextPath() + "/images/close.gif")%>"/>
or
<img src="<%=request.getContextPath()%>/images/close.gif"/>
Both versions generate the same code "
<img src="/infoserver/images/close.gif"/>
"
When using this the error
18:01:20,406 INFO [STDOUT] 18:01:20,406 WARN [PortalImpl] Current URL /web/guest/images/close.gif generates exception: null
disappears, but the images arent displayed.
Any idea?
PS.: Used the lib
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<portlet:defineObjects />
Please sign in to flag this as inappropriate.