We have images stored in a Blob in Oracle Database. I was able to retrieve the bytes of the images from the blob. However in the response output I get a screen of binary characters.
I tried r response.setContentType("image/gif");
as well. In this scenario it shows me a image place holder on the screen. No image is displayed here as well.
Bytes are read fine from the database. I did verify this.