I have a property file that I read into a PropertyResourceBundle object like this....
PropertyResourceBundle resource = (PropertyResourceBundle)ResourceBundle.getBundle( "db");
I have an entry in the "db" property file that contains values which are comma delimited, like this...
arr=1,2,3
but when I call resource.getStringArray("arr"), I get a ClassCastException.
I want to get back a
String array, which is the return type of getStringArray() anyway! I dont see what the problem is.
Any help would be appreciated!
SAF