jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes Loading Image from db done !! Problem with byte array to Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Loading Image from db done !! Problem with byte array to Image" Watch "Loading Image from db done !! Problem with byte array to Image" New topic
Author

Loading Image from db done !! Problem with byte array to Image

Ashutosh khanna
Greenhorn

Joined: Oct 21, 2006
Posts: 5
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32501
    
214

Ashutosh,
Welcome to JavaRanch!

What error message are you getting?


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Ashutosh khanna
Greenhorn

Joined: Oct 21, 2006
Posts: 5
Thanks for replying.

The thing is that i am not getting any image in the frame.. no errors.

and i have printed the contents of the byte array on console just the check whether it is empty.

instead of a dry run... why don't you try with your database ?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32501
    
214

Ashutosh,
I don't follow. When you print the byte array, is it empty or does it output bytes?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Loading Image from db done !! Problem with byte array to Image
 
jQuery in Action, 3rd edition