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, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" -----Original Message----- From: Saeed Najahi [mailto:najah...@gmail.com] Sent: Monday, May 16, 2011 7:48 PM To: user@struts.apache.org 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: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org