Women in Technology

Hear us Roar



Article:
  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
GZIPResponseStream.flush(GZIPResponseStream.java:76)
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?