From struts-user-return-18082-apmail-jakarta-struts-user-archive=jakarta.apache.org@jakarta.apache.org Mon Oct 01 19:57:29 2001 Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 41294 invoked by uid 500); 1 Oct 2001 19:57:29 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: struts-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 41265 invoked from network); 1 Oct 2001 19:57:28 -0000 Received: from moutvdom01.kundenserver.de (195.20.224.200) by daedalus.apache.org with SMTP; 1 Oct 2001 19:57:28 -0000 Received: from [195.20.224.204] (helo=mrvdom00.schlund.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 15o9C0-0000Vt-00 for struts-user@jakarta.apache.org; Mon, 1 Oct 2001 21:57:32 +0200 Received: from pd9004a76.dip.t-dialin.net ([217.0.74.118] helo=merlin) by mrvdom00.schlund.de with smtp (Exim 2.12 #2) id 15o9C0-0006MT-00 for struts-user@jakarta.apache.org; Mon, 1 Oct 2001 21:57:32 +0200 From: "Thomas Schnelle" To: Subject: AW: getting the servlet context Date: Mon, 1 Oct 2001 22:00:19 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit 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 V5.00.2919.6700 In-Reply-To: <2F5D18165CB1D2119E0D00805F65BBC80850D53A@newhampshire.exchange.indiana.edu> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Try this ServletContext con = pageContext.getServletContext(); regards Thomas -----Ursprüngliche Nachricht----- Von: Johnson, Nathaniel [mailto:natjohns@indiana.edu] Gesendet: Montag, 1. Oktober 2001 21:49 An: 'struts-user@jakarta.apache.org' Betreff: getting the servlet context Does anyone know how to get the servletContext from within a custom tag (public class MyTag extends SupportTag...) Thanks! Nate