Rahul Sudip Bose wrote:
1.The web.txt file is blank
Try flushing the printWriter:
Rahul Sudip Bose wrote:
I have a doubt, can i make a .xml file and write text to it OR, do i have to make a .txt file - write the text - and then rename it to .xml ?
Yes, You can create an xml file and write to it.
And one more thing, don't forget to close the PrintWriter