Hi all !

My java bean read a path to a image file from a database. 
The Image files is located according to the path from the DB on the same computer as 
the web server.
(this is running on Linux.)

I then want to show the image on a jsp page.

This is how it looks now in the .jsp file
<img src="<%= myBean.getImagePathFromDB()%>">

What path should I write as the src in the .jsp page 
The path I get from the DB is relative to the Linux root directory not to the web 
server

I suppose I have to set some path somewhere in some file to tell the web server where 
to look.

Anyone know how I solve this.

Thanks in advance. Petrus









--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to