File Can Not be Found
- From: "RigasMinho" <minho.cho@xxxxxxxxx>
- Date: 31 Aug 2006 07:55:37 -0700
I have this source code here where it cant find the file:
Staging_PasswordAdministration.properties.
No clue why it gives me this error because the file is named correctly
and is in the same working directory as the jsp file.
Basically all i want to do is load a properties file that i have.
Wondering if java.io.FileInputStream is even the right function to do
this.
let me know
Properties prop = System.getProperties();
osname = prop.getProperty("os.name");
if (osname.equals("Windows XP"))
{
test = ("same words");
prop.load(new
java.io.FileInputStream"Staging_PasswordAdministration.properties"));
}
.
- Follow-Ups:
- Re: File Can Not be Found
- From: Chris Smith
- Re: File Can Not be Found
- Prev by Date: Re: Running java programs from class files
- Next by Date: Re: (Off topic) Cyberwar question
- Previous by thread: Best way to get user input from the console window?
- Next by thread: Re: File Can Not be Found
- Index(es):
Relevant Pages
|