• Post Reply Bookmark Topic Watch Topic
  • New Topic

BLOB to image file  RSS feed

 
Avik Mazunder
Ranch Hand
Posts: 39
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I get back image from BLOB...
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to write a servlet that will retrieve the BLOB image from the database and output it on the servlet response outputstream as an image MIME object.

JSF isn't designed for doing this kind of stuff itself, but JSF apps can use those kinds of servlets very nicely.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!