Referencing java resource files for cold fusion
- by Chimeara
I am using a .Jar file containing a .properties file in my CF code, however it seems unable to find the .properties file when run from CF.
My java code is:
String key ="";
String value ="";
try {
File file = new File("src/test.properties");
FileInputStream fileInput = new FileInputStream(file);
Properties…