Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-08 Thread Chris
Thanks Leonidas Hi there, webwork used to have a class that would easily read external sources like xml files, but i do not recall the class name now. If you want to read from simple property files you could use something like : String path = ServletActionCo

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Leonidas Papadakis
e external configuration > files > > with struts web applications ? > > > > > > > > ____________ > > De : Dave Newton > > À : Struts Users Mailing List > > Envoyé le : Vendredi 6 septembre 2013 13h17 > > Objet : Re: S

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Chris
Thanks  , I 'll try with commons-configuration De : Umesh Awasthi À : Struts Users Mailing List ; Chris Envoyé le : Vendredi 6 septembre 2013 13h45 Objet : Re: Struts 2.3.15.1 How to read external properties files or conf files Have you tried

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Dave Newton
; De : Dave Newton > À : Struts Users Mailing List > Envoyé le : Vendredi 6 septembre 2013 13h17 > Objet : Re: Struts 2.3.15.1 How to read external properties files or conf > files > > > How are you trying to load them? As a resource on the classpath? > > Dave >

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Umesh Awasthi
gards > > > > > > ________________ > > De : "umeshawas...@gmail.com" > > À : Struts Users Mailing List ; Chris < > > christal...@yahoo.fr> > > Envoyé le : Vendredi 6 septembre 2013 10h50 > > Objet : Re: Struts 2

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Chris
À : Struts Users Mailing List Envoyé le : Vendredi 6 septembre 2013 13h17 Objet : Re: Struts 2.3.15.1 How to read external properties files or conf files How are you trying to load them? As a resource on the classpath? Dave On Sep 6, 2013 5:51 AM, "Chris" wrote: > Where : ser

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Chris
rs Mailing List Envoyé le : Vendredi 6 septembre 2013 13h15 Objet : Re: Struts 2.3.15.1 How to read external properties files or conf files Without any code it's hard to know what's happening. I do ask you to seriously reconsider refactoring database access out of the action or

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Chris
nvoyé le : Vendredi 6 septembre 2013 13h13 Objet : RE: Struts 2.3.15.1 How to read external properties files or conf files if you did not place log4j.properties on classpath then Set the resource string variable to the value of the log4j.configuration system property. The preferred way to sp

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Dave Newton
perties > or > > java.io.FileNotFoundException : ldapconfiguration.conf > > > Regards > > > > De : "umeshawas...@gmail.com" > À : Struts Users Mailing List ; Chris < > christal...@yahoo.fr> > Envoyé le : Vendredi 6 septembre 2013

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Miguel Almeida
> De : "umeshawas...@gmail.com" > À : Struts Users Mailing List ; Chris > > Envoyé le : Vendredi 6 septembre 2013 10h50 > Objet : Re: Struts 2.3.15.1 How to read external properties files or conf > files > > > Log4j file will be ready by Log4j f

RE: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Martin Gainty
if you did not place log4j.properties on classpath then Set the resource string variable to the value of the log4j.configuration system property. The preferred way to specify the default initialization file is through the log4j.configuration system property. In case the system property log4j.c

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Chris
st ; Chris Envoyé le : Vendredi 6 septembre 2013 10h50 Objet : Re: Struts 2.3.15.1 How to read external properties files or conf files Log4j file will be ready by Log4j framework and not exactly by struts2 Can you define where and how you want to read your property files? Sent from BlackBerry®

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread umeshawasthi
Log4j file will be ready by Log4j framework and not exactly by struts2 Can you define where and how you want to read your property files? Sent from BlackBerry® on Airtel -Original Message- From: Chris Date: Fri, 6 Sep 2013 09:40:03 To: Struts Users Mailing List Reply-To: "Struts Users