I have the same problem.
Tried to use
1<img id="dukeimg" src="<%=renderResponse.encodeURL(renderRequest.getContextPath() + "/images/close.gif")%>"/>
or
1<img src="<%=request.getContextPath()%>/images/close.gif"/>
Both versions generate the same code "
1<img src="/infoserver/images/close.gif"/>
"
When using this the error
118: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
1<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
2
3<portlet:defineObjects />