http://www.java-forums.org/jdbc/56389-exporting-recordset-xls-spreadsheet.html
Type: Posts; User: copeg
http://www.java-forums.org/jdbc/56389-exporting-recordset-xls-spreadsheet.html
...or read through this: Apache POI - the Java API for Microsoft Documents