Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 61146 invoked from network); 22 Feb 2006 16:11:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 16:11:00 -0000 Received: (qmail 97646 invoked by uid 500); 22 Feb 2006 16:10:53 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 97503 invoked by uid 500); 22 Feb 2006 16:10:52 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 97372 invoked by uid 99); 22 Feb 2006 16:10:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 08:10:52 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.70.192.51] (HELO smtp1.libero.it) (193.70.192.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 08:10:50 -0800 Received: from localhost (172.16.1.209) by smtp1.libero.it (7.0.027-DD01) id 43E0E17C01C97ECC for user@struts.apache.org; Wed, 22 Feb 2006 17:10:29 +0100 Received: from smtp20.libero.it ([172.16.1.76]) by localhost (asav22.libero.it [193.70.193.9]) (amavisd-new, port 10024) with ESMTP id 20673-03-4 for ; Wed, 22 Feb 2006 17:10:28 +0100 (CET) Received: from libero.it (172.16.1.231) by smtp20.libero.it (7.0.027-DD01) id 431C3BFF01BBA953 for user@struts.apache.org; Wed, 22 Feb 2006 17:10:28 +0100 Date: Wed, 22 Feb 2006 17:10:28 +0100 Message-Id: Subject: Getting Access to Application Properties from plain classes MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "starki78" To: "user" X-XaM3-API-Version: 4.3 (R1) (B3pl11) X-SenderIP: 192.109.190.88 X-Scanned: with antispam and antivirus automated system at libero.it X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, normally we are getting the properties them in the normal Struts-way with the help of the request or bean:message , but for the purpose of som= e test classes it would be useful to access them within a main class or a plain java class. I tried this but I didn't find= a solution. Is there any possibility? Thanks a lot! Nice greetings --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org