struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Kazakevich" <>
Subject RE: Displaying images from database (BLOB) using the <img> tag
Date Mon, 16 May 2011 16:41:04 GMT
You need action (or servlet) that will read image from db and write image to
the output stream setting appropriate conent-type.
Than you do: <img src="my.action"/>


Ilya Kazakevich,
JetBrains Inc
"Develop with pleasure!"

-----Original Message-----
From: Saeed Najahi [] 
Sent: Monday, May 16, 2011 7:48 PM
Subject: Displaying images from database (BLOB) using the <img> tag

hello guys, can anyone kindly tell me how can i display an image fetched
from a database using the <img> tag? thanks in advance.

`*The early bird catches the worm, but the second mouse gets the cheese..*`

*NAJAHI Saïd* (* KyouJin-SaMa* )
4ème année G.Info E.N.S.A.Safi

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

View raw message