9 Replies Latest reply: Jan 31, 2007 5:46 AM by 807599 RSS

    File Problem with path

    807599
      File anxmlfile = new File("TheXmlFile.xml");
      This throws filenotfoundexception while this
      File ko = new File("D:/Test/TheXmlFile.xml");
                
      works..

      the class that opens the file is in the same folder as the xml file.

      What do i put in the constructor so that it looks in the current directory of the class?