This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm getting a lot of milage out of this answer Third time in two days... If you set the content-type to application/vnd.ms-excel and only pass an html table to the browser this will open Excel containing the data in your table. Be sure not to include any html tags other than the table (i.e. no <html>, <head>, <body>, etc)
---<br />Time flies like an arrow,<br />Fruit flies like a banana