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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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: 31050
    
162

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, 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: 31050
    
162

Yes. IE 6 supports the gzip format.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can I deacrease volume of my html pages?