jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes IE 6 and GZIP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "IE 6 and GZIP" Watch "IE 6 and GZIP" New topic

IE 6 and GZIP

raj agastya

Joined: Nov 27, 2001
Posts: 22
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: IE 6 and GZIP
It's not a secret anymore!