You will also need to specify Content-disposition after setting Content-type as setting these attributes for your response response.setContentType("video/x-ms-wmv") response.setHeader("Content-disposition","attachment; filename=file.wmv");
Take a look at http://joseph.randomnetworks.com/archives/2004/10/01/making-ie-accept-file-downloads Anyone else? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents ----- Original Message ----- From: "Zachary Wiener" <[EMAIL PROTECTED]> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Tuesday, November 07, 2006 8:25 AM Subject: Re: Request for WMV file to machine name doesn't work > Thanks for the link. I'll have to read it and see if it addresses why > things work when the request is to localhost, as opposed to machine name. > > > > > > Christopher Schultz <[EMAIL PROTECTED]> > 11/07/2006 08:07 AM > Please respond to > "Tomcat Users List" <users@tomcat.apache.org> > > > To > Tomcat Users List <users@tomcat.apache.org> > cc > > Subject > Re: Request for WMV file to machine name doesn't work > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Zachary, > >> I have tried different browsers, such as Firefox and did not have the >> problem, but I'm not sure what in IE could be making this happen. > > Well, there's your problem: MSIE ignores MIME type headers in favor of > detecting the MIME type itself. There's little to nothing you can do > about this, unless you can patch the registry on every machine that will > be used to connect to your application. > > This is a great resource for understanding what /should/ be happening, > and what MSIE actually does: > http://ppewww.ph.gla.ac.uk/~flavell/www/content-type.html > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFUIUQ9CaO5/Lv0PARAghCAJ4m7SeRfOFP5nn9xU9THe7W7isU+ACgpSql > tUdlov32PfVNkJ1Hm4HVsOU= > =tHTh > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > >