This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Excel Formating through JSP/Servlets" Watch "Excel Formating through JSP/Servlets" New topic
Author

Excel Formating through JSP/Servlets

Diomedes Casiraghi
Greenhorn

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/vnd.ms-excel");%>
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.
thanks
diomedes

------------------
Search for your own Light


Search for your own Light
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960
    
  19

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.
 
wood burning stoves
 
subject: Excel Formating through JSP/Servlets
 
Similar Threads
Excel worksheet name
Create Spreadsheet
Covert Excel Worksheet to PDF
Read a .xls,.xlsx file format using XSSF
Open JSP File in Excel with Tabs