Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 20101 invoked from network); 13 Sep 2005 16:29:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2005 16:29:27 -0000 Received: (qmail 39508 invoked by uid 500); 13 Sep 2005 16:29:07 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 39471 invoked by uid 500); 13 Sep 2005 16:29:07 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 39447 invoked by uid 99); 13 Sep 2005 16:29:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 09:29:07 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of funkman@joedog.org designates 204.74.20.252 as permitted sender) Received: from [204.74.20.252] (HELO sid.armstrong.com) (204.74.20.252) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 09:29:18 -0700 Received: from [10.38.20.105] ([10.38.20.105]) by sid.armstrong.com (8.12.8p1/8.12.8) with ESMTP id j8DGIvsR032131 for ; Tue, 13 Sep 2005 11:18:57 -0500 Message-ID: <4326FE4F.6070104@joedog.org> Date: Tue, 13 Sep 2005 12:29:03 -0400 From: Tim Funk Organization: Human being User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 X-Accept-Language: en-us, en, es-mx, de, sv MIME-Version: 1.0 To: Tomcat Users List Subject: Re: URL embedded filename suggestion not working inTomcat References: <996477FC2A7550408745318E2A1B5AA792A198@lynms601.global.ad.toro.com> In-Reply-To: <996477FC2A7550408745318E2A1B5AA792A198@lynms601.global.ad.toro.com> Content-Type: text/plain; charset=us-ascii; 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 You could use the Content-Disposition header to send the filename back to the user. -Tim Ron Cozad wrote: > This url is not working in Tomcat, but it works with Apache http server. > > http://my.company.com/cgi-bin/program1.cgi/filename.txt?parameter1=123 > > > > Next url does work with tomcat but of course the browser proposes > program1.cgi as the name instead of filename.txt, as desired in the > first url. > > http://my.company.com/cgi-bin/program1.cgi?parameter1=123 > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org