matthew016
asked on
Can't open file
I have a file called "database" where I have the url, login and pass to have an access to my DB.
I'm using this to open it :
BufferedReader in = new BufferedReader(new FileReader("database"));
But it just won't work.
The class where this line appear is in a package.
I have put the file out of the packages and in the package, but nothing work.
I'm using J2EE and Webtools Platform.
I'm using this to open it :
BufferedReader in = new BufferedReader(new FileReader("database"));
But it just won't work.
The class where this line appear is in a package.
I have put the file out of the packages and in the package, but nothing work.
I'm using J2EE and Webtools Platform.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:-)
;JOOP!