when i create a new dynamic web project and execute the code below :
File file = new File("");
String path = file.getAbsolutePath();
System.out.println(path);
I get this result:
C:\Users\Toshiba\workspace\Projet .
which is good!!!. But when i import another project and execute the same code ,i get this :
D:\Eclipse .
(the path of eclipse's application ).
and that!! i can't explain or fix.
Any help.!