I have written a file using printwriter and filewriter. But I found a strange problem when I open the file. Can anyone tell me what exactly went wrong in the following code snippet? I tried using flush also but it does not work.
problem: I see only half of the response in the file