Hi Anil, Canonical path is still not understood....Can u help me to make it more clear???
Enthuware Software Support
Joined: Sep 23, 2000
I guess you did not read it fully. Assume there is a directory c:\temp\java File f = new File ("c:\\temp\\..\\temp\\java\\.\\.."); f.getCanonicalPath() = c:\temp\ f.getAbsolutePath() = c:\temp\..\temp\java\.\.. Canonical path is the bare minimum and neccesory path. AbsolutePath is the Complete path with with the File object was created.
What exactly do you not understand? -Paul. ------------------ Get Certified, Guaranteed! (Now Revised for the new Pattern) www.enthuware.com/jqplus