The moose likes JSP and the fly likes Compressing Jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Compressing Jsp" Watch "Compressing Jsp" New topic
Author

Compressing Jsp

Mohan raj gaddam
Greenhorn

Joined: Feb 22, 2003
Posts: 4
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

Joined: Jul 28, 2001
Posts: 259
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


Asher Tarnopolski
SCJP,SCWCD
 
 
subject: Compressing Jsp
 
Threads others viewed
JSP page with js file compression
compress jpg image file
compress a xml file
Google snappy compression
how Compress jsf response ?
IntelliJ Java IDE