i have a problem in writing the file to the temporary folder .....the file is not created ..if i give the path name by myself then the file is created .....
kindly anyone help me ....
Thanks in advance ....
MY CODING :
public void filewrite()
String temppath = new String(System.getProperty("java.io.tmpdir"));
String fileName = "temppath,outfile.txt";
BufferedWriter out = new BufferedWriter(new FileWriter(fileName));