Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

create a temporary file..

807607Nov 27 2006 — edited Nov 27 2006
Hi guys,
i've an easy question for you. I've a jsf application, when i click on a button a method starts that creates a temporary file, run an applet that loads this file and when the applet ends the temporary file has to be deleted.
What is my problem?
I've tried to create the temporary file with
String y="good";
File w=File.createTempFile("giu",".txt");
		BufferedWriter b;
		b = new BufferedWriter(new FileWriter(w));
b.write(y);
i've searched a giu.txt file but it doesn't exists!!!
Please help me to understand where is my error,thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 25 2006
Added on Nov 27 2006
5 comments
518 views