I use a FileWriter and a BufferWriter to write in a file. The file \"test.txt\" is created but nothing is written inside.
The file should be written in the ActionEve
you have to flush your writer.
out.flush(); out.close();
put these two lines after all writing is done to close the file