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


AddThis Social Bookmark Button
  Two Servlet Filters Every Web Application Should Have
Subject:   IO Exception thrown
Date:   2009-08-10 22:56:09
From:   varaprasadp
I tried to use the GZIP filter on Oracle 9iAS 10.1.3 AppServer and it gave me the same exception:
java.io.IOException: Cannot flush a closed output stream
at GZIPResponseWrapper.flushBuffer(GZIPResponseWrapper.java:45)

This happened on JBoss and Oracle 9iAS 9.0.3

I am using normal JSP/Servlets.

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