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.
There is no built-in support for exporting to Excel.
It's easy to create a CSV response by using, for example, the FreeMarker result, which also allows setting of the content type in the result configuration. You could also do the same thing in a JSP result by using a scriptlet to set the content type.
You could also use any of several MS-Office libraries to create an actual Excel file (like Poi for example).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com