This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to convert byte array to images

 
Amirtharaj Chinnaraj
Ranch Hand
Posts: 241
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks

i want to display some images in the jsp. by taking

the images from DataBase ,i already inserted the image into

the dataBase as a BLOB and i have retrived the image from DataBase

as a byte array

now i dont no how to convert the byte array to image

iam using struts and hibernate

eagerly waiting for your replies
 
jacky ustb
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
byte[] image;
...
Response.Clear();
Response.BinaryWrite(image);
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic