This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply 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: 14561
    
    7

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: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Excel Formating through JSP/Servlets
 
Similar Threads
Read a .xls,.xlsx file format using XSSF
Create Spreadsheet
Excel worksheet name
Open JSP File in Excel with Tabs
Covert Excel Worksheet to PDF