Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 65186 invoked from network); 29 Nov 2005 23:03:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Nov 2005 23:03:20 -0000 Received: (qmail 44284 invoked by uid 500); 29 Nov 2005 23:03:07 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 44271 invoked by uid 500); 29 Nov 2005 23:03:06 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 44260 invoked by uid 99); 29 Nov 2005 23:03:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 15:03:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.148.162.130] (HELO mail.canam.com) (207.148.162.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 15:04:36 -0800 Received: from GILBY02.canam.com [192.168.0.239] by mail.canam.com with ESMTP (SMTPD32-8.04) id A06A3370084; Tue, 29 Nov 2005 16:12:42 -0700 Message-Id: <6.2.0.14.0.20051129160044.02359eb0@mail.canam.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Tue, 29 Nov 2005 16:00:59 -0700 To: "Tomcat Users List" From: Mike Subject: Re: File Download not working for anchor tags In-Reply-To: <20051129105536.dxwmv7vnalgk0ks0@webmail.xmission.com> References: <6.2.0.14.0.20051129075845.0214ceb0@mail.canam.com> <438C6EAA.9090600@joedog.org> <6.2.0.14.0.20051129090504.04832c60@mail.canam.com> <20051129105536.dxwmv7vnalgk0ks0@webmail.xmission.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I tried that for Basic, Form, Digest, NonLogin, SSL, SavedRequest, Constants, AuthenticatorBase and SingleSignOn authenticators, but they didn't work. Mike At 10:55 AM 11/29/2005, you wrote: >I had a problem with this recently and had to add the following to my Context: >disableProxyCaching="false" /> > >There is some info on this IE bug you can google for - I lost my link to it. >Depending on the type of authentication (Basic, form, etc.) you may have to >modify the className. > >Quoting Mike : > >> >> I tried that setContentType and fileInputStream solution, but ran into >> two problems. First, when I download an Excel file and load the >> downloaded file in Excel, it doesn't load in properly. I'm guessing >> there's some data transfer problem. Second, the first time I try to >> download, IE blocks the download. If I download it a second time, it >> seems to work. >> >> A solution with the anchor tag would work the best if possible because >> the data is good, and the download is fast. >> >> Mike >> >>At 08:07 AM 11/29/2005, you wrote: >>>Are you doing this? >>>http://tomcat.apache.org/faq/misc.html#saveas >>> >>>-Tim >>> >>>Mike wrote: >>> >>>>Hello, >>>>I've encountered a bug with the 4.1.31 version of Tomcat. Apparently, when >>>>I use an anchor tag for a file, and I click on the link, it does not >>>>show the >>>>file download message "Do you want to open or save this file?" with the >>>>open >>>>and save options. Instead, it displays the file in the browser. I know you >>>>could normally save this information from the browser to a file, but I >>>>need it >>>>to show the download message because it's easier for users to save their >>>>file. I'm using Internet Explorer version 6, SP2. I've also tried setting >>>>the "Confirm open after download" check box for file types to no avail. It >>>>use to work in Tomcat 4.1.18. >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>>For additional commands, e-mail: users-help@tomcat.apache.org >>> >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>For additional commands, e-mail: users-help@tomcat.apache.org >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org