ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Two Servlet Filters Every Web Application Should Have
Subject:   GZIP Filter and exception thrown
Date:   2004-01-09 12:08:20
From:   anonymous2
I tried to use the GZIP filter on two different AppServers and both gave me the same exception:
java.io.IOException: Cannot flush a closed output stream
GZIPResponseStream.flush(GZIPResponseStream.java:76)
at GZIPResponseWrapper.flushBuffer(GZIPResponseWrapper.java:45)


This happened on JBoss and Oracle 9iAS 9.0.3


Actually, it does not happen all the time. I also use Struts framework for both apps.


Any ideas?? Any one else encounter same kind of exception?


1 to 1 of 1
  1. GZIP Filter and exception thrown
    2004-01-18 22:11:14  jfalkner [View]

1 to 1 of 1