This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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: 17421

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Excel Formating through JSP/Servlets
It's not a secret anymore!