aspose file tools*
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
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: 16250
    
  21

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Excel Formating through JSP/Servlets