Thanks for your reply.
Although I am setting the header that you have given
response.setHeader("Content-Disposition", "inline; filename=\"spreadsheet.xls\"");
Still I am getting the file name as "Copy of SAOReport.do" when trying to save it. The below address is showing in the IE address bar.
Is there a solution for this?