File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes IE 6 and GZIP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "IE 6 and GZIP" Watch "IE 6 and GZIP" New topic
Author

IE 6 and GZIP

raj agastya
Greenhorn

Joined: Nov 27, 2001
Posts: 22
hi,
I was trying to check if IE browser supports GZIP compression programmatically. I think IE 4 + supports GZIP compression but when I displayed the header and checked using response.getHeader(), it gave: null. Not sure whats happenning. Please give me a clue....
Please see my code below.
When I access my servlet from IE 6+, "encoding" String value is null and so I get the message that compression is not supported.

With Netscape 4.79 it says it supports GZIP compression and "encoding" String value is "gzip" and the message is correct.
IE 6+ supports GZIP compression, isn't it? What's wrong with the code?

Thanks for the help.
-raj
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: IE 6 and GZIP
 
Similar Threads
Question: How do you send a JSP page as compressed GZIP encoding?
Help!!! Trying to Run Simple Servlet Example.....
Compressed servlet output with GZIP
encoded page with GZip is gone if refreshing
GZIP Filter