struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gemes Tibor <ge...@regens.hu>
Subject action chaining closes the response twice?
Date Fri, 20 Sep 2002 12:06:21 GMT
I use action chaining. 

I have a filter which compresses the response if the client supports it. (gzip 
filter from jspinsider.com).

The filter throws exception for these (and only these) chained actions as if 
the response stream was closed twice. 

Is this the expected behaviour for these actions?

Tib

Ps.: Here is the StackTrace:

StandardWrapperValve[action]: Servlet.service() for servlet action threw 
exception
java.io.IOException: Cannot flush a closed output stream
    at com.jspinsider.jspkit.gzip.GZIPResponseStream.flush(Unknown Source)
    at 
com.jspinsider.jspkit.gzip.GZIPServletResponseWrapper.flushBuffer(Unknown 
Source)
    at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:446)
    at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
    at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1014)
    at 
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237)
    at 
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:291)
    at 
org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:390)
...
...
...


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message