Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 53477 invoked from network); 3 Dec 2003 07:25:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Dec 2003 07:25:43 -0000 Received: (qmail 23830 invoked by uid 500); 3 Dec 2003 07:25:01 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 23807 invoked by uid 500); 3 Dec 2003 07:25:00 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 23787 invoked from network); 3 Dec 2003 07:25:00 -0000 Received: from unknown (HELO internet-mail.witt-weiden.de) (217.6.216.250) by daedalus.apache.org with SMTP; 3 Dec 2003 07:25:00 -0000 Received: from domino.wen.witt-weiden.de ([172.21.2.195]) by internet-mail.witt-weiden.de (8.12.8/8.12.2) with ESMTP id hB37PA4X029553 for ; Wed, 3 Dec 2003 08:25:10 +0100 Subject: execution order of context listener and servlets To: tomcat-user@jakarta.apache.org X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: From: Ulrich.Kleeberger@witt-weiden.de Date: Wed, 3 Dec 2003 08:24:54 +0100 X-MIMETrack: Serialize by Router on domino/wen/Witt(Release 5.0.11 |July 24, 2002) at 03.12.2003 08:25:10 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi guys, i have a question about der execution order of the ServletContextListener.contextInitialized() method and the init() method of an servlet. In my web.xml i have a servlet with load 1 declared. besides i have declared an ServletContextListener. in tomcat the ServletContextListener executes first and then der init() method of the servlet. in ias (oracle) the servlets init() method executes first and then the ServletContextListener. i thought the ServletContextListener has to execute first. is this right or am i missing something? servus uli --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org