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
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
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
; 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
>
gards
> >
> >
> > ________________
> > De : "umeshawas...@gmail.com"
> > À : Struts Users Mailing List ; Chris <
> > christal...@yahoo.fr>
> > Envoyé le : Vendredi 6 septembre 2013 10h50
> > Objet : Re: Struts 2
À : 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
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
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
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
> 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
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
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®
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
13 matches
Mail list logo