wood burning stoves 2.0*
The moose likes Servlets and the fly likes excel from servlet 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 from servlet" Watch "excel from servlet" New topic

excel from servlet

vas reddy

Joined: Jun 11, 2008
Posts: 23
I am generating an excel file from a servlet by setting mimeType = "application/vnd.ms-excel". I have my excel file generated, but ofetn with a very big size(for ex;- 20 MB). Then I opend the excel file and save as another excel file(save as type *.xls). The size is reduced to 4 MB. So my question is there any other parameters(header or any other..) need to set up, so that I can reduce the size?

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Afraid not. That's just Excel for you.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
jQuery in Action, 2nd edition
subject: excel from servlet
Similar Threads
Poi Api-Dynamic generation of a cell in a java application from a excel sheet without saving it
Save excel file by hitting a url
Database output results to Excel
How to show file(residing on server) link on HTML
Export to excel question