Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 79441 invoked from network); 25 Nov 2005 14:29:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Nov 2005 14:29:54 -0000 Received: (qmail 93150 invoked by uid 500); 25 Nov 2005 14:29:42 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 92415 invoked by uid 500); 25 Nov 2005 14:29:39 -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 92404 invoked by uid 99); 25 Nov 2005 14:29:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2005 06:29:39 -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 includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.13.20] (HELO web86508.mail.ukl.yahoo.com) (217.12.13.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 25 Nov 2005 06:31:11 -0800 Received: (qmail 51733 invoked by uid 60001); 25 Nov 2005 14:29:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=U+z3r6pho+yBdm29e+ptvg0acQ+nNuAtb7nP0gPKTpUx3N4nNlgIdlbj6cVQiNQwMasGLLwotmTmm4WOyw8zmE3SOgAQEt7/ELnLnKmIUH0KsAuoo9Newe7moyyEDnZdSY6g7+i5WstvH5FxI0u+cMbuHpzIBP33/tqUzeTaKzc= ; Message-ID: <20051125142916.51731.qmail@web86508.mail.ukl.yahoo.com> Received: from [62.140.207.140] by web86508.mail.ukl.yahoo.com via HTTP; Fri, 25 Nov 2005 14:29:16 GMT Date: Fri, 25 Nov 2005 14:29:16 +0000 (GMT) From: ALEX HYDE Subject: Re: Filters To: Tomcat Users List , carl.olivier@unysen.co.uk In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Carl, I'm quite new to this but I'd guess that the Filter is instantiated at start-up by Tomcat. You might direct your new requests, plus the old requests for the asp pages, to Tomcat, using say Apache. Using a filter you could intercept *.asp and then forward/redirect to the new resource. --- Carl Olivier wrote: > Greetings. > > I have a questions regarding Filter servlets. If a > request is made for a > non-existent/non *.jsp or servlet URI - will the > Filter be instantiated? > Reason I ask is because I want to interect old > bookmarked requests for an > old site - which has been migrated to a new tomcat > based JSP site - however > the old site was ASP based. > > Many users of the old site would have bookmarked > something like: > /index.asp?PageID=16 or something similar - and I am > hoping to be able to > intercept that - using a Filter seemed a logical > choice - and send back a > redirect to the new URL /some.jsp for those > requests. > > Thanks in advance, > > Carl > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: > users-help@tomcat.apache.org > > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org