I am using JDeveloper 10.1.2 for my application. In this, I have one requirement to read some data from a text file. For that, I created a test file and saved along with the java file folder. From there, I am trying to read this file but it says the file not found exception.
Application is looking the file from another location. "F:\DevSuiteHome_1\jdev\system10.1.2.1.0.1913\oc4j-config"
But, I want to read it from my home folder. How is it possible to read from that location?
If you testing a web application you have to understand that the app is running on a server. This server is normally not your local pc and thus there is no home folder of yours on the server.
You should be able to use an absolute path to the file or put it in a sub folder of hte web root folder.