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 63F3F997F for ; Thu, 12 Apr 2012 13:00:13 +0000 (UTC) Received: (qmail 74852 invoked by uid 500); 12 Apr 2012 13:00:10 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 74696 invoked by uid 500); 12 Apr 2012 13:00:09 -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 74687 invoked by uid 99); 12 Apr 2012 13:00:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 13:00:09 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.12.242.59] (HELO smtpout.wanadoo.co.uk) (80.12.242.59) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 13:00:01 +0000 Received: from mail.homeinbox.net ([2.24.211.100]) by mwinf5d40 with ME id x0zg1i00C2AXGdN030zgoU; Thu, 12 Apr 2012 14:59:41 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.homeinbox.net (Postfix) with ESMTP id 173A2EAB515 for ; Thu, 12 Apr 2012 13:59:40 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from mail.homeinbox.net ([127.0.0.1]) by localhost (mail.homeinbox.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nWLO5SK9TlxD for ; Thu, 12 Apr 2012 13:59:24 +0100 (BST) Received: from [10.173.58.6] (unknown [213.205.232.119]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.homeinbox.net (Postfix) with ESMTPSA id 0C6D1B22001 for ; Thu, 12 Apr 2012 13:59:09 +0100 (BST) References: <5d1d2822faf2e2ae22f9eff15f3afd12@tau.ceti.pl> <99C8B2929B39C24493377AC7A121E21FB016FD1231@USEA-EXCH8.na.uis.unisys.com> <4847057902696949195@unknownmsgid> User-Agent: K-9 Mail for Android In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Using ServletContainerInitializer for 2.5 applications From: markt@apache.org Date: Thu, 12 Apr 2012 13:58:59 +0100 To: Tomcat Users List Message-ID: <826e559f-bd76-4489-af42-53378ea203e4@email.android.com> Violeta Georgieva wrote: >Hi, > >This mechanism is meant to be a standard way for web frameworks to >extend >the Servlet Container. IMHO this is compliant with the specification: Your not really humble at all opinion is wrong. This is a Servlet 3.0 feature and therefore not available to 2.5 or earlier webapps. If you look elsewhere in the Servlet, JSP and EL specs you'll find things that would break if the container used syntax from a newer spec version with a web app written for an older spec. If you want to use Servlet 3.0 features then you need to declare 3.0 in the web.xml. Mark > > > >"8.2.4 Shared libraries / runtimes pluggability > >In addition to supporting fragments and use of annotations one of the >requirements > >is that not only we be able to plug-in things that are bundled in the >WEB-INF/lib > >but also plugin shared copies of frameworks - including being able to >plug-in to the > >web container things like JAX-WS, JAX-RS and JSF that build on top of >the >web > >container. The ServletContainerInitializer allows handling such a use >case > >as described below." > > >Lazar just wants to extend the Servlet Container using this standard >mechanism. He wants his implementation of ServletContainerInitializer >to be >invoked for every web application. > >Regards >Violeta > >2012/4/12 Pid * > >> On 11 Apr 2012, at 14:42, Lazar Kirchev >wrote: >> >> > ServletContainerInitializer >> >> Only exists in Servlet 3.0. Supporting it in lower spec versions >would >> be non-compliant. >> >> And silly. >> >> >> p >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org