Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 53785 invoked from network); 27 Feb 2009 08:04:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2009 08:04:58 -0000 Received: (qmail 50136 invoked by uid 500); 27 Feb 2009 08:04:56 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 50108 invoked by uid 500); 27 Feb 2009 08:04:56 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 50097 invoked by uid 99); 27 Feb 2009 08:04:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 00:04:56 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.159.87.244] (HELO ns1.officenet.no) (195.159.87.244) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 08:04:48 +0000 Received: from [95.34.27.238] (helo=andreak-laptop.localnet) by ns1.officenet.no with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Lcxhk-0003Kh-IW for dev@struts.apache.org; Fri, 27 Feb 2009 09:04:26 +0100 From: Andreas Joseph Krogh Organization: OfficeNet AS To: dev@struts.apache.org Subject: Re: Accessing properties set in struts.xml and/or struts.properties Date: Fri, 27 Feb 2009 09:04:11 +0100 User-Agent: KMail/1.11.0 (Linux/2.6.27-11-generic; KDE/4.2.0; i686; ; ) References: <200902252227.25591.andreak@officenet.no> <200902261218.22996.andreak@officenet.no> <42db7f0a0902260845s6cc04d3eufe1f80d3880a196d@mail.gmail.com> In-Reply-To: <42db7f0a0902260845s6cc04d3eufe1f80d3880a196d@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200902270904.11719.andreak@officenet.no> Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.8 X-Spam-Report: SpamAssasin (score=-1.8, required 5.0 ALL_TRUSTED=-1.8,BAYES_50=0.001) X-Virus-Checked: Checked by ClamAV on apache.org On Thursday 26 February 2009 17:45:52 Chris Pratt wrote: > You might have to specify it as a servlet filter init parameter instead of > relying on struts.xml/properties. > (*Chris*) Yes, I know that would do the trick, but my ambition was to keep all Struts= 2-related config in *one* place (struts.xml or struts.properties) instead o= f scattered around. So, again: Is there a mechanism in place for accessing these properties in = a uniform way from "everywhere"? =2D-=20 Andreas Joseph Krogh Senior Software Developer / CEO =2D-----------------------+---------------------------------------------+ OfficeNet AS | The most difficult thing in the world is to | Rosenholmveien 25 | know how to do a thing and to watch | 1414 Troll=E5sen | somebody else doing it wrong, without | NORWAY | comment. | | | Tlf: +47 24 15 38 90 | | =46ax: +47 24 15 38 91 | | Mobile: +47 909 56 963 | | =2D-----------------------+---------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org