Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 60650 invoked from network); 6 Dec 2004 13:17:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Dec 2004 13:17:42 -0000 Received: (qmail 94830 invoked by uid 500); 6 Dec 2004 13:16:59 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 94811 invoked by uid 500); 6 Dec 2004 13:16:58 -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 94797 invoked by uid 99); 6 Dec 2004 13:16:58 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from proxy.qas.com (HELO mail1.qas.com) (195.172.82.234) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 05:16:56 -0800 Received: from orion.qas.com (orion.qas.com [150.150.100.34]) by mail1.qas.com (Content Technologies SMTPRS 4.3.17) with ESMTP id for ; Mon, 6 Dec 2004 13:16:49 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: web.xml Date: Mon, 6 Dec 2004 13:16:50 -0000 Message-ID: <5684A7E6FB10504393A2806C1F4C021005AF7F75@orion.qas.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: web.xml Thread-Index: AcTblRrO02ADcB8VQpOJd5Dg+j+Y6QAAIboA From: "Allistair Crossley" To: "Tomcat Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N you should be acquiring your config params in the way I show, and then sett= ing them perhaps in the application scope, or maybe a registry, or whatever= pattern you wish. but do not make your "normal" classes attempt to access = any objects like servletconfig or otherise as that breaks good design. > -----Original Message----- > From: Andreas Andersson [mailto:andreas@travelstart.se] > Sent: 06 December 2004 13:12 > To: Tomcat Users List > Subject: Re: web.xml >=20 >=20 > Allistair Crossley wrote: > > "normal" class? Is that a Servlet?=20 >=20 > Well, no. This class is called from another class wich in=20 > turn is used=20 > in a jsp-page as a session bean. >=20 > Do I have to pass the value down all the way via jsp:setProperty? >=20 > --=20 > Andreas Andersson > IT Dept. > Travelstart Nordic > andreas@travelstart.se > http://www.travelstart.se >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 =20 ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org