struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tutu <>
Subject Pb displaying image
Date Mon, 20 Jul 2009 15:08:51 GMT


I have a pb while trying to display an image that is not in my application
but on the file system!!

I've tried to put this in my jsp:

file:///<%=request.getAttribute( /1.png"></img>

and that too:
<html:image src="file:///<%=request.getAttribute("imageLocation")%>/1.png"/>
<html:img src="file:///<%=request.getAttribute("imageLocation")%>/1.png"/>

(imageLocation reference D:/images)

but nothing is displayed. Does anybody knows how to display an image that is
not in the web application?


View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message