Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 22586 invoked by uid 500); 1 Aug 2001 02:38:38 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 22579 invoked from network); 1 Aug 2001 02:38:38 -0000 Received: from fe3.rdc-kc.rr.com (HELO mail3.kc.rr.com) (24.94.163.50) by h31.sny.collab.net with SMTP; 1 Aug 2001 02:38:38 -0000 Received: from THDV001 ([65.26.87.176]) by mail3.kc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Tue, 31 Jul 2001 21:38:38 -0500 Reply-To: From: "Tia Haenni" To: "Tomcat Mailing List" Subject: Help with servlet context Date: Tue, 31 Jul 2001 21:40:52 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a repost. Does anyone know how to do this? There used to be methods for this in ServletContext (getServlets() and getServletNames()), but they have been deprecated with no replacements. I have a servlet which dispatches to other servlets in the same context through a RequestDispatcher object. I want to provide some "guard-rails" by checking if the class file for the receiving servlet exists in the context. Any direction/advice is much appreciated. TIA Tia