Hi,
I have a structure like:
src -|com -|company -|Core --> JAVA class -|rules --> text files
Inside Core is a Java Class that uses:
BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(fileName)));
But I cannot figure out what relative path to use. Now I use:
"..\\..\\..\\..\\rules\\rule1.txt"
I also tried:
"../../../../rules/rule1.txt"
Where do I go wrong? Please Help, Thanks in advance!