This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes BLOB to image file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "BLOB to image file" Watch "BLOB to image file" New topic
Author

BLOB to image file

Avik Mazunder
Ranch Hand

Joined: Jun 27, 2012
Posts: 39

How can I get back image from BLOB...
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BLOB to image file
 
Similar Threads
store image using sql server
How to insert images in Oracle
inserting passport image into database
Convert image to hide it
Inserting image at database