permaculture playing cards*
The moose likes Servlets and the fly likes how to write servlet output to a spreadsheet (like EXCEL) style file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to write servlet output to a spreadsheet (like EXCEL) style file ?" Watch "how to write servlet output to a spreadsheet (like EXCEL) style file ?" New topic
Author

how to write servlet output to a spreadsheet (like EXCEL) style file ?

steve francisco
Ranch Hand

Joined: Jan 26, 2005
Posts: 46
I want to have a servlet generate a spreadsheet style document (like EXCEL file) for user to download. But I don't like the simple .csv file format. What should I do ? Any suggestion ?

Thanks,
steve
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Steve,
Take a look at Apache's POI/HSSF project. It is an API that lets you apply formatting and more complex settings in Excel through Java.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Don't get me started about those stupid light bulbs.
 
subject: how to write servlet output to a spreadsheet (like EXCEL) style file ?