Details
Description
As the code is currently written the name of the file downloaded to the client
machine is named FileDownload.do (or whatever the URL is).
I believe the code needs something like this:
response.setHeader("Content-Disposition", "attachment; filename=" +
fileName);
The user might want to control the filename, but personally I have been using
the server-side name.