This problem has been bugging me for at least 6 months. I finally noticed
that IE6 is converting the dot (".") in file.jpg to an underscore ("_").

Has anyone experienced this very odd behaviour before?

 

I should point out that I am sending the file back to the client via a
servlet, the process being.

 

Load file into memory (as bytes) and close fileinputstream

Get mimetype of file

Set responses mimetype

Set response content-disposition (header) to attachment and
filename=file.jpg

Get response OutputStream

Write loaded file (bytes) to outputstream

Flush and close outputstream

 

I can post the exact code if needed. I'm running Tomcat 4.1.30.

 

Cheers,

Brad

 

Reply via email to