Re: file type being blocked by IE
Brandon Steward wrote: I found this work around. You can add this to the webapp's xml config. On the face of it, that doesn't seem to have *anything* to do with the issue you mentioned. But hey, if it works with IE, who am I to wonder.. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: file type being blocked by IE
I found this work around. You can add this to the webapp's xml config. Thanks for everybody's help, Brandon Caldarale, Charles R wrote: From: Brandon Steward [mailto:bstew...@jsu.edu] Subject: Re: file type being blocked by IE I've disabled the "show friendly error pages". Here's the screenshot of the error. Or not. The list strips most attachments, including yours. IE thinks it's the smartest thing on the planet, thereby justifying its rather rude behavior of ignoring both common sense and standards. Consequently, you may be suffering from its refusal to download any items that have a no-cache header attached to them. This usually happens to HTTPS transfers: http://support.microsoft.com/?id=316431 But I think it can happen to any response with a no-cache header. Use Wireshark or any of the myriad HTTP header monitors to see what's really coming over the line. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - 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
RE: file type being blocked by IE
> From: Brandon Steward [mailto:bstew...@jsu.edu] > Subject: Re: file type being blocked by IE > > I've disabled the "show friendly error pages". Here's the > screenshot of the error. Or not. The list strips most attachments, including yours. IE thinks it's the smartest thing on the planet, thereby justifying its rather rude behavior of ignoring both common sense and standards. Consequently, you may be suffering from its refusal to download any items that have a no-cache header attached to them. This usually happens to HTTPS transfers: http://support.microsoft.com/?id=316431 But I think it can happen to any response with a no-cache header. Use Wireshark or any of the myriad HTTP header monitors to see what's really coming over the line. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: file type being blocked by IE
I've disabled the "show friendly error pages". Here's the screenshot of the error. Brandon André Warnier wrote: Brandon Steward wrote: 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. Start by disabling the "friendly error pages". Has anyone had this problem before and if so, were you able to fix it or develop a workaround? No, but you might try to get the HttpFox add-on for Firefox, and the Fiddler2 add-on for IE, and compare what your browser is sending, and what it is receiving in either case. I mean the HTTP headers in both directions. - 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
Re: file type being blocked by IE
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 To: Tomcat Users List 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
Re: file type being blocked by IE
Brandon Steward wrote: 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. Start by disabling the "friendly error pages". Has anyone had this problem before and if so, were you able to fix it or develop a workaround? No, but you might try to get the HttpFox add-on for Firefox, and the Fiddler2 add-on for IE, and compare what your browser is sending, and what it is receiving in either case. I mean the HTTP headers in both directions. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: file type being blocked by IE
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 To: Tomcat Users List 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