aspose file tools*
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
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
 
Don't get me started about those stupid light bulbs.
 
subject: IE 6 and GZIP