I want to load the configuration (apache commons configuration) from the properties file. My program:
PropertiesConfiguration pc = new PropertiesConfiguration("my.properties"); System.out.println(pc.getString("myValue"));
In my.properties I have
myValue=value,
with a comma
When I run the program, the output is value , not value, with comma . It looks like the value is loading before the character,.
Any ideas?
java apache-commons apache-config
Tyler
source share