Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7DC1103DE for ; Wed, 7 Aug 2013 13:47:15 +0000 (UTC) Received: (qmail 9121 invoked by uid 500); 7 Aug 2013 13:47:12 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 8614 invoked by uid 500); 7 Aug 2013 13:47:11 -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 8595 invoked by uid 99); 7 Aug 2013 13:47:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 13:47:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jieryn@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-ob0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 13:47:06 +0000 Received: by mail-ob0-f173.google.com with SMTP id ta17so3652826obb.4 for ; Wed, 07 Aug 2013 06:46:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=CaTLD7BwV5szOvkZB6cpVBoaMCSjYDZE5WHRdyuqj4E=; b=pVczec52e4YV9h/FyJmpff9tBj6r0j/GERUqbazL9sq1rHE7CGQLAzRslH6pfDVHsR iL3DF647sCFhX63thY/Hh+0ego9JfIdlogAjMLYzeVLv6804D/0dl2oe9AUirV6+VB6c 4LwKxYlX6429qJGS37IowioBenE0RfqJsDB1si/CQIusB+YMowjBcCmrFM4rNIh55p0N tYCDS8P11O4pX7Z4C4wgvoYQUPeC/uIQYU81A59Imncg44q05iZfawUBNEmg9nzp6E1X LTitKbpuZ0iB77BgxQXPMpaQIEPLdlm1Ctm6H8+ib+Kuh1zL4FqXA6w3aHMTUs2rnXX0 Cxnw== MIME-Version: 1.0 X-Received: by 10.182.39.168 with SMTP id q8mr2526052obk.72.1375883205083; Wed, 07 Aug 2013 06:46:45 -0700 (PDT) Received: by 10.182.241.164 with HTTP; Wed, 7 Aug 2013 06:46:45 -0700 (PDT) In-Reply-To: <5201C041.7090803@christopherschultz.net> References: <520146D6.3030600@apache.org> <5201625E.6020701@apache.org> <5201C041.7090803@christopherschultz.net> Date: Wed, 7 Aug 2013 09:46:45 -0400 Message-ID: Subject: Re: apache tomcat 8.0.0-rc1; /manager 404; NPE From: jieryn To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Aug 6, 2013 at 11:34 PM, Christopher Schultz wrote: > The servlet specification requires that certain services be provided > by the container. Among them are a) a default servlet to serve content > for which no other servlet mapping exists (e.g. static files, etc.) > and b) a servlet called "jsp" that is, by default, mapped to "*.jsp". I was not aware of that requirement, thank you for the information. > Tomcat chooses to provide the above services by using conf/web.xml as > a default. If you break that mechanism, you are going to lose some > functionality. The webapp should be able to rely on the default and > JSP servlets being available even without specifically configuring > them in the webapp's own web.xml. There's actually no requirement for a web.xml for now two releases of the Servlet specification. How does the Apache Tomcat community feel about coding these core servlets with @WebServlet and let them be automatically discovered through the normal metadata-complete=false processing? > Why are you deleting conf/web.xml in the first place? As I recall, it was because some web.xml fields were inherited in an additive manner, e.g. mime type mapping, and it included extra items I didn't want. And for other pieces of configuration data that were present in the conf/web.xml (DefaultServlet, and JspServlet), I had already overridden, so what is the point of keeping the global conf/web.xml.. -Jesse --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org