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!

downloading a jpeg

529432Jan 12 2009 — edited Jan 13 2009
I've written a servlet that downloads a jpg. It was working fine for some time, and now it does not. It seems that it breaks the file. When I try to open the downloaded file, I get the following complaint.
Error interpreting JPEG image file (Not a JPEG file: starts with 0x3f 0x3f)
Any body know what this complaint is about. The file is fine on the filesystem where the download servlet access it. Interestingly, the file is slightly smaller in bytes after the download.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 10 2009
Added on Jan 12 2009
4 comments
297 views