I have a question regarding referencing properties across different property files. I've tried using both commons-configuration-20030706.202021.jar and commons-configuration-20040121.140929.jar. The setup I have is the following:
config-override.properties
baseURL=http://localhost:9080
config-default.properties
baseURL=http://localhost:80
servletURL=${baseURL}/servlet
propertiesConfiguration.xml <configuration>
<properties className="org.apache.commons.configuration.PropertiesConfiguration" fileName="config-override.properties"/>
<properties className="org.apache.commons.configuration.PropertiesConfiguration" fileName="config-default.properties"/>
</configuration>
When I call configuration.getString("servletURL") I get http://localhost:80/servlet, but what I want is http://localhost:9080/servlet.
Is this a bug or a feature? Is there anyway I can achieve the behavior I'm after?
Thanks very much. Charles
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
