-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Reading file with relative Path?
I have written code with java to read file but I couldn't read file with relative Path.(ZScript)
However, I have no problem with absolute path?
in my opinion, if you wanna use relative path, you should print out your path and check it correct.
for example :
i use eclipse to develop ZK, and it is in "D:\eclipse\"
if i use
File file = new File("/");
File file = new File(".");
Asked: 2008-10-05 16:08:55 +0800
Seen: 167 times
Last updated: Oct 06 '08