O
ojvm
Tanks in advance to all for the time of reading this.
Well i'm trying tho create a file in the hard drive, actually i'm using
the class FileWriter and BufferedWriter together. the code looks like
this.
FileWriter escrivearchivo = new FileWriter(nombreArchivo,true);
BufferedWriter escribebuffer = new BufferedWriter(escrivearchivo);
escribebuffer.write(String.valueOf(registros.getString(z)) + ",");
escribebuffer.newLine();
escribebuffer.flush();
so, this make a file but a don't now how to say in what path put it on.
that means the file is created in c:\windows\system32.
all this is runing in tomcat.
Well i'm trying tho create a file in the hard drive, actually i'm using
the class FileWriter and BufferedWriter together. the code looks like
this.
FileWriter escrivearchivo = new FileWriter(nombreArchivo,true);
BufferedWriter escribebuffer = new BufferedWriter(escrivearchivo);
escribebuffer.write(String.valueOf(registros.getString(z)) + ",");
escribebuffer.newLine();
escribebuffer.flush();
so, this make a file but a don't now how to say in what path put it on.
that means the file is created in c:\windows\system32.
all this is runing in tomcat.