logo       

Re: [enhydra] Can we display Images from Database in Enhydra: msg#00007

java.enhydra.general

Subject: Re: [enhydra] Can we display Images from Database in Enhydra

Mohammed Rafeeq píše v St 25. 07. 2007 v 15:25 -0700:
> I have a need where I need to display images stored in database in a
> particular table cell <td>.
>
> These images are stored in database and not in file system otherwise I
> would have used the HtmlImageElement and set its SRC dynamically.
>
> I can use the outputstream to flush the binary image data fetched from
> database but I need to position that image in a particular HTML <TD>

<td id="particularPosition><img
src="GiveMeImageFromDatabase.po?imageID=1357"></td>

And your GiveMeImageFromDatabase.java will flush the binary data via the
outputstream...

Petr





--
You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing
list.
To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise