
I have a JSP page with save button.In that I created the file(e.g a.txt) at run-time,when I click on the save button,it will ask where to save the file on a disk.

Hi,
Please give me complete detail about the work.
I think you can write code in your JSP page to save the file on disk.
You may check the thread How to upload and save a file in a folder.
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.