This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I did a functionality which allows the user to download an excel sheet which contains the records in the database. When I press DOWNLOAD button in mozilla firefox it works correctly by downloading the excel file (filename.xls). I'm using the following code: