The moose likes JSP and the fly likes Getting a Image from a Blob using Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Getting a Image from a Blob using Servlet

Karthik Kris

Joined: Mar 16, 2006
Posts: 7

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

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.

I am using Oracle application server 10 g env.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60752

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Getting a Image from a Blob using Servlet
Similar Threads
Images stored in the database
Image Read from Blob
Inserting image into the oracle database
how to display images on JSP in struts2
Storing images to database through JDBC