For example, the link shows up as:
http://servername/contextpath/filename.zip
I tried adding the ?filetype=.zip to the end of the link, but that
didn't make any difference.
Do you have any other suggestions?
Thanks,
Brandon
Todd Hivnor wrote:
I'm not sure if it still behaves this way. But historically IE has ignored the
declared content-type and instead used the file extension. The work-around was
to add a bogus argument to the URL:
http://server/get-the-goodies.jsp?filetype=.zip
This way it "looks" like a .zip file to IE.
Also, when IE returns a "generic error" and you want to know what it is, consider
disabling "Friendly" error messages. Use:
Tools->Internet Options->Advanced->Uncheck "Show Friendly HTTP Error messages."
----- Original Message ----
From: Brandon Steward <bstew...@jsu.edu>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Thursday, May 14, 2009 12:26:17 PM
Subject: file type being blocked by IE
I have a Tomcat web application that generates output files and the files have
the extension .zip. I try to download them in IE, but I get the generic error
from IE saying it cannot download the file. I can try the same thing in
Firefox and it works just fine. I've tried going through my IE security
settings, but I haven't had any luck. Has anyone had this problem before and
if so, were you able to fix it or develop a workaround?
Thanks,
Brandon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org