1 2 Previous Next 16 Replies Latest reply on Jun 18, 2007 1:31 AM by EJP

    problem in writing data in file......

    807605
      i am having problem in passing a String object path ;
      taken from user in following way

      FileWriter fw = new FileWriter(path,append);

      error is : (The filename, directory name, or volume label syntax is incorrect)
      but if i am using

      FileWriter fw = new FileWriter("f.txt",append);

      it works...

      but i want filename from user... how to achieve this
        1 2 Previous Next