Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 67318 invoked from network); 30 Nov 2005 23:09:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Nov 2005 23:09:38 -0000 Received: (qmail 45831 invoked by uid 500); 30 Nov 2005 23:09:25 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 45811 invoked by uid 500); 30 Nov 2005 23:09:25 -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 45797 invoked by uid 99); 30 Nov 2005 23:09:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2005 15:09:24 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [193.252.22.156] (HELO smtp3.freeserve.com) (193.252.22.156) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2005 15:10:54 -0800 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3207.me.freeserve.com (SMTP Server) with ESMTP id A0D3F9000086 for ; Thu, 1 Dec 2005 00:09:02 +0100 (CET) Received: from [192.168.0.2] (user-3436.l4.c1.dsl.pol.co.uk [81.77.237.108]) by mwinf3207.me.freeserve.com (SMTP Server) with ESMTP id 79C4B9000084 for ; Thu, 1 Dec 2005 00:09:02 +0100 (CET) X-ME-UUID: 20051130230902498.79C4B9000084@mwinf3207.me.freeserve.com Message-ID: <438E310D.9080309@apache.org> Date: Wed, 30 Nov 2005 23:09:01 +0000 From: Mark Thomas User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: File Download not working for anchor tags References: <6.2.0.14.0.20051130142447.041b5b70@mail.canam.com> <438E1E0D.5000702@apache.org> <6.2.0.14.0.20051130154326.041b27f0@mail.canam.com> In-Reply-To: <6.2.0.14.0.20051130154326.041b27f0@mail.canam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I assume you are using a servlet since JSPs always return a Content-Type. Try setting Content-Type in your servlet so the headers are identical. Mark Mike wrote: > > Hi Mark, > > I compared them and the Content-Type is not showing in 4.1.31. In > 4.1.18 it shows as "text/plain". > > Thanks, > > Mike Gilby > > At 02:47 PM 11/30/2005, you wrote: > >> Assuming the content is the same, this has to be a headers issue. Try >> installing ieHTTPHeaders (or the erquivalent for your browser) and >> compare the differences between 4.1.18 and 4.1.31. >> >> Mark >> >> Mike wrote: >> >>> Hello, >>> I'm reposting this error for hopefully more help. I wrote before >>> that I encountered a bug with the 4.1.31 version of Tomcat. 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. It >>> use to work in Tomcat 4.1.18. I've tried setting the "Confirm open >>> after download" check box for file types, writing the >>> response.contentType and response.header in the downloaded file, and >>> I tried valves in the server.xml file for different authenticators to >>> no avail. I even copied the 4.1.18 Tomcat server.xml file I use to >>> have into the Tomcat 4.1.31 version, and it still doesn't work. >>> Any help would be appreciated. >>> Thanks, >>> Mike >>> >>> --------------------------------------------------------------------- >>> 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org