Thanks, Terry
----- Original Message ----- From: "Brantley Hobbs" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 14, 2004 10:47 AM
Subject: RE: IE6 and download problem using tomcat java servlet
I should also have pointed out that at that point, you can keep your .jpeg extension or whatever. The browser could care less what the file name is. It simply looks at the MIME type.
B.
"zzz"-----Original Message----- From: Brantley Hobbs Sent: Tuesday, September 14, 2004 10:44 AM To: Tomcat Users List Subject: RE: IE6 and download problem using tomcat java servlet
> I am having a problem downloading a jpeg file from a tomcat java servlet > to Internet Explorer 6.0. I have changed the file extension to
theto > force the download prompt. If I restart tomcat(version 4.1.x),
type.
While this is a working solution, it's not ideal. To do this seamlessly, you should set your output headers to a different mime
"application/octet-stream" works well for provoking a download dialog.
Here's an example: response.setContentType("application/octet-stream");
B.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
