This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have implemented filter that compress the response and send back to browser . Problem is that I am getting Garbage Value in Browser
I have had good luck using a Filter that does gzip compression. Before trying to compress, did you check the Accept-Encoding request header to be sure gzip was listed? Did you set the Content-Encoding response header to tell the browser you were sending gzipped content? Did you remember to call "close" on the GZIPOutputStream? If so, post the URL of your filter so we can look? Mine is online in Chapter 9 of http://archive.moreservlets.com/ Cheers- - Marty