Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ByteArray to Image file conversion??

843836Aug 21 2003 — edited Aug 21 2003
Hi,

I have a byte array of an image file with me in a JSP page.What I want to do is to convert this byte Array into an image file for which I am not giving any absolute path.

I am only giving a dynamically generated fle name to FileOutputStream object with "." as the current directory.

I want to handle this file automatically that is I am not storing this file somewhere across the web path and once I display and come out from the page, I want to destroy it

Can anybody suggest something how to acheive this?

Regards,
Pratap
INDIA
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 18 2003
Added on Aug 21 2003
1 comment
71 views