Please read the
naming policy of the site!
Remember paths of stuff in your WAR file is relative.
So if you images are stored in /images in your WAR file, you could use the following to display an image on a .jsp:
<%
// put your code to retrieve the filename from the db here
// lets assume you put it in a
String called "filename":
filename = "myimage.jpg";
%>
<img src="/<%=request.getContextPath%>/images/<%=filename%>">
[ September 27, 2005: Message edited by: Scheepers de Bruin ]