How to access to a resource in the ADF application?
FerezApr 8 2013 — edited May 27 2013Hi
I have a jasper report file named report.jrxml in the following path in my ADF application named “app”:
app\ViewController\src\org\nmp\app\view\report
I wanna access to this file inside a java file located in the ViewController project as follows:
InputStreaminSt = new FileInputStream(new File(“app\ViewController\src\org\nmp\app\view\report\report.jrxml”));
But I get the following exception:
java.io.FileNotFoundException: app\ViewController\src\org\nmp\app\view\report\report.jrxml (The system cannot find the path specified)
How could I access to this resource in my application? I am using JDev 11.1.2.3
Cheers,
Ferez