• Post Reply Bookmark Topic Watch Topic
  • New Topic

Compressing Jsp

 
Mohan raj gaddam
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
I want to compress jsp pages using GZIP.How can i get response in a stream so that i pass that outputstream to GZIPOutputstream.Can can one tell me how to compress the jsp pages.I am using jrun3.0.How to include the html tags when we compress the jsp.How this works.I want to use this so that the bandwidht reduces.
regards
mohan
 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it's not enough to gzip your output stream.
the client's browser should accept gzip encoding.
read this to undestand the proccess:
http://csajsp-chapters.corewebprogramming.com/CSAJSP-Chapter4.pdf
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!