This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can I deacrease volume of my html pages?

 
sabah noori
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34084
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sabah noori
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34084
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. IE 6 supports the gzip format.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic