Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 55BE1200B8B for ; Tue, 4 Oct 2016 23:01:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 53FE6160ACC; Tue, 4 Oct 2016 21:01:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 92840160AC7 for ; Tue, 4 Oct 2016 23:01:02 +0200 (CEST) Received: (qmail 33161 invoked by uid 500); 4 Oct 2016 21:01:00 -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 33150 invoked by uid 99); 4 Oct 2016 21:01:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2016 21:01:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 856FA1A5383 for ; Tue, 4 Oct 2016 21:01:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.713 X-Spam-Level: X-Spam-Status: No, score=0.713 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, NO_RDNS_DOTCOM_HELO=0.433, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id TGG0YWKMXMUX for ; Tue, 4 Oct 2016 21:00:58 +0000 (UTC) Received: from vms173015pub.verizon.net (vms173015pub.verizon.net [206.46.173.15]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 647055FBBB for ; Tue, 4 Oct 2016 21:00:58 +0000 (UTC) Received: from vz-proxy-l006.mx.aol.com ([64.236.82.153]) by vms173015.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0OEJ00JEFJOOVY80@vms173015.mailsrvcs.net> for users@tomcat.apache.org; Tue, 04 Oct 2016 16:00:28 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=EdU1O6SC c=1 sm=1 tr=0 a=FJ1kTJ0/xm5uTekQe8vMdQ==:117 a=IkcTkHD0fZMA:10 a=CH0kA5CcgfcA:10 a=j4nzMFrpAAAA:8 a=QfKxxUxMAAAA:8 a=fZuCmC8_zs0IJn0VJmMA:9 a=QEXdDO2ut3YA:10 Received: by 71.127.40.115 with SMTP id 03f546e3; Tue, 04 Oct 2016 21:00:28 GMT Subject: Re: add mapping for jsp servlet in web.xml? To: Tomcat Users List References: <74C96A54-AF64-4E2E-87EF-1EFD09CBAB00@gmail.com> From: Christopher Schultz Message-id: Date: Tue, 04 Oct 2016 17:00:23 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-version: 1.0 In-reply-to: <74C96A54-AF64-4E2E-87EF-1EFD09CBAB00@gmail.com> Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit archived-at: Tue, 04 Oct 2016 21:01:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Rob, On 10/1/16 8:59 AM, Rob Nikander wrote: > Hi, > > I’m upgrading from Tomcat 6 to Tomcat 8. The web.xml has a mapping > like this, to use the jsp servlet for all files in a certain > directory: > > jsp > /some-stuff/* > > In Tomcat 6 this worked, but in 8, this *replaces* the existing > mapping from the default web.xml (so .jsp files don’t work). > > Is there way a simple way to add the mapping, rather than replace > existing mappings? Replacing the mapping would surprise me and I would consider it a bug. Can you package a sample WAR with source that demonstrates this issue? (Easiest "source" to package would just be two .jsp files where one will run and the other will not). - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJX9BhnAAoJEBzwKT+lPKRYHA8P/3Q20HEoTv/+OUsKI01pqN++ Ppuof/i4gGtaxcAoywXtcu4DNMw5rv2ryt8xEegr3j7vDNsYIfylHX9mYrVjmFoI 2DsEikmHrSb2GO1tU66U7h7Y1pxXzkyr3Gpnh4ZnVXOU7Bj+8gqinbcbg4/1N72T 3d25cAH5UOUmyK/PtDTDT1+193f+eFZe8z8IEtaC7rzbmydQPObSkfwUdO1SYBNn lvCy/mjRj9uUU81ZnwritY0r+9uQsR3Iwtaekl1E5qjVVzz5tTlmJi2KlaXnESGT 9FrLEx4BfHi6fycMHXv/0SN5oYujDlBIPTe4nChh76Y9SGdccrIXoJMwDUrJTm9q Ig7lB6w60w/aqx6k1SvTFtR95PIK5nK4yDCr7bxp82vBNNFu5PceXybEEdTZaLFw qsTez8/txAvEW3IuWFXPmUAG3+obeDJpWAU9fdPt37UxdMDho155StB+wuKe7cFq 4wDdQBpOCQYrJ2d2VP5iP0JXj7co2aOIkWh8ujoauQBB48Vb0xfKahcNPy+fU0bO HVFF9FG9O9c8i/z5wX1pcSj7KhSe/DoOtYFVB8V/IAZAa8NhMAqF5KN1e+jvGzBk GI8Ri54HMTbDKkJb+WRnEOKsjxJ+7v5froj2vCrY9+vuKq18clu6qZiRi3dx09nn TfBTOTh5/RR8OdBB7e04 =uZFx -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org