This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes how can I deacrease volume of my html pages? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how can I deacrease volume of my html pages?" Watch "how can I deacrease volume of my html pages?" New topic
Author

how can I deacrease volume of my html pages?

sabah noori
Greenhorn

Joined: Oct 21, 2007
Posts: 3
hi,I use jasper reports in my poroject. out put s files are html format. my html pages are very volumed. how can I decrease volume of my pages. can solve my problem,if I use diffrent format such as pdf or excel files?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

Sabah,
Welcome to JavaRanch!

Consider using a gzip filter to compress your HTML. Since an HTML file is mostly whitespace and text, it compresses at a very good percentage. All modern browsers can uncompress automatically and you benefit from a smaller page to transfer across the internet.

PDF is much larger than raw HTML. Excel can be either larger or smaller. If it is just comma demitted text, it is smaller. If it is formatted Excel, it is larger. For pretty reports, the output is likely to be larger than the Jasper version.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
sabah noori
Greenhorn

Joined: Oct 21, 2007
Posts: 3
Jeanne,
Thanks for your reply.
I have another question.
my browser is internet explorer 6.
does IE6 support , If I want use gzip format?
sincerely
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

Yes. IE 6 supports the gzip format.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how can I deacrease volume of my html pages?
 
jQuery in Action, 3rd edition