• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to convert byte array to images

 
Amirtharaj Chinnaraj
Ranch Hand
Posts: 241
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
byte[] image;
...
Response.Clear();
Response.BinaryWrite(image);
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic