Displaying a blob via struts is a lot different than converting it. You may be trying to do too many things at once. In particular, try converting the blob to a readable image, then work on serving the image via struts. [ July 10, 2008: Message edited by: Scott Selikoff ]

by using jsp , i can able to get the image as the byte[] using Formfile , i have to insert that image to my database (having the column datatype as "BLOB") and have to display in the jsp page after finished uploading .. if you have solution for these issue . please reply..

Perhaps you should try the struts forum. It sounds like you're not sure how to pass the data back/forth in struts. If you can save it to a database, reading it should be trivial (the JDBC component of it anyway). [ July 10, 2008: Message edited by: Scott Selikoff ]