Can we display Images from Database in Enhydra

View: New views
2 Messages — Rating Filter:   Alert me  

Can we display Images from Database in Enhydra

by Mohammed Rafeeq :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi users,

 

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>

 

 

Any leads will be helpful

 

Thank you,

Mohammed Rafeeq

Senior Software Engineer

XDx

Brisbane, CA 94005

Ph: (415) 287-2375

 

 



--
You receive this message as a subscriber of the enhydra@... mailing list.
To unsubscribe: mailto:enhydra-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

Re: Can we display Images from Database in Enhydra

by Petr Stehlik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... mailing list.
To unsubscribe: mailto:enhydra-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws