Hi,

I am using this snippet of code to get dynamically the configuration
settings of my app. :

URL url =
        Thread.currentThread().getContextClassLoader().getResource(
                "ress/config.xml");
ConfigurationFactory factory = new ConfigurationFactory();
factory.setConfigurationURL(url);
Configuration conf = null;
try {
        conf = factory.getConfiguration();
} catch (ConfigurationException e) {
        e.printStackTrace();
}


The problem here is that I am trying to get an XMLConfiguration and not
a Configuraton object,
to do operations on the configuration file itself (change the settings),
which is an XML file.

any tips on how to get an XMLConfiguration from a the
ConfigurationFactory ?

Thank u !

__________________________________

   Matt



============================================
Internet communications are not secure and therefore Fortis Banque Luxembourg 
S.A. does not accept legal responsibility for the contents of this message. The 
information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the 
intended recipient, any disclosure, copying, distribution or any action taken 
or omitted to be taken in reliance on it, is prohibited and may be unlawful. 
Nothing in the message is capable or intended to create any legally binding 
obligations on either party and it is not intended to provide legal advice.
============================================

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to