problem in loading a xml file
-
hi everybody i am a .net developer and i start to use java with spring. i want to load a xml file in File object at this way :
File f = new File("D:/MyProjects/Sun Java/MyClinic/src/Clinic/Core/ApplicationContext.xml");
and in netbeans debug mode when compiler wants to process this line encourge pause and next line not processed say something usefull about relative path in java. please forgive me for my bad english skill. thanks all.
--------------------- Areff Bahrami(KAVEH) Areff.HB@Gmail.com ---------------------
-
hi everybody i am a .net developer and i start to use java with spring. i want to load a xml file in File object at this way :
File f = new File("D:/MyProjects/Sun Java/MyClinic/src/Clinic/Core/ApplicationContext.xml");
and in netbeans debug mode when compiler wants to process this line encourge pause and next line not processed say something usefull about relative path in java. please forgive me for my bad english skill. thanks all.
--------------------- Areff Bahrami(KAVEH) Areff.HB@Gmail.com ---------------------