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.
The moose likes Servlets and the fly likes Excel Formating through JSP/Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Excel Formating through JSP/Servlets" Watch "Excel Formating through JSP/Servlets" New topic

Excel Formating through JSP/Servlets

Diomedes Casiraghi

Joined: Sep 27, 2001
Posts: 2
Hi there
I succsesfully was able to export a JSP results into an excel file using
<% response.setContentType("application/");%>
what I want to know is if there is some way to separate the data in worksheets for the excel file or insert break pages. I need to publish the information separated by pages or worksheets.

Search for your own Light

Search for your own Light
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17026

For that, you're going to need to know Excel's internal file format and output native Excel binary, not the CSV that most people use for Excel display on web pages.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Excel Formating through JSP/Servlets
It's not a secret anymore!