Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 14399 invoked from network); 15 Jun 2010 05:03:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 05:03:53 -0000 Received: (qmail 64787 invoked by uid 500); 15 Jun 2010 03:14:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 64458 invoked by uid 500); 15 Jun 2010 03:14:28 -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 64449 invoked by uid 99); 15 Jun 2010 03:14:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 03:14:27 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.82.249.147] (HELO mail29.messagelabs.com) (216.82.249.147) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 03:14:18 +0000 X-VirusChecked: Checked X-Env-Sender: Chuck.Caldarale@unisys.com X-Msg-Ref: server-5.tower-29.messagelabs.com!1276571635!66369290!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [192.61.61.104] Received: (qmail 14424 invoked from network); 15 Jun 2010 03:13:56 -0000 Received: from unknown (HELO USEA-NAEDGE1.unisys.com) (192.61.61.104) by server-5.tower-29.messagelabs.com with RC4-SHA encrypted SMTP; 15 Jun 2010 03:13:56 -0000 Received: from usea-nahubcas1.na.uis.unisys.com (129.224.76.114) by USEA-NAEDGE1.unisys.com (192.61.61.104) with Microsoft SMTP Server (TLS) id 8.1.393.1; Mon, 14 Jun 2010 22:13:55 -0500 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.42]) by usea-nahubcas1.na.uis.unisys.com ([129.224.76.114]) with mapi; Mon, 14 Jun 2010 22:13:55 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Mon, 14 Jun 2010 22:13:51 -0500 Subject: RE: disabling non url match returns Thread-Topic: disabling non url match returns Thread-Index: AcsMMs+Ton8qr97qSAe7QaVu2cLAhgABYdVw Message-ID: <99C8B2929B39C24493377AC7A121E21F98F91C2EBD@USEA-EXCH8.na.uis.unisys.com> References: <28886572.post@talk.nabble.com> In-Reply-To: <28886572.post@talk.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 > From: nejm [mailto:emedeiros@mms.org] > Subject: disabling non url match returns >=20 > new to tomcat=20 What exact version? > and I'm trying to find the appropriate web.xml > tweek to avoid trailing '/*' mapping to take place. You really, really don't want to preclude that, since it would disable deli= very of all static content. > For example lets say abc.com/current/ is a valid request. >=20 > however abc.com/current/xyz should not be. >=20 > my Tomcat server is always returning the abc.com/current/ trailing> just as though it was abc.com/current. No, Tomcat isn't, but *your* servlet is. Post the web.xml for your webapp = so we can see what mappings you have specified. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL 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 atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org