You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Gemes Tibor <ge...@regens.hu> on 2002/09/20 14:06:21 UTC

action chaining closes the response twice?

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>