struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gemes Tibor <ge...@regens.hu>
Subject cascading actions
Date Mon, 02 Sep 2002 07:30:19 GMT
How can I cascade actions correctly?

The following seems to be working:

<action name="myAction" ...>
        <forward name="success" path="myAction2.do" />
</action>
<action name="myAction2" ...>
        <forwar name="success" path="myPage.jsp" />
</action>

The response is gzip-ed by the gzip-filter of jspinsider.com. But the gzip 
filter throws an IOException for these "cascading actions" unfortunately. It 
says that 

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:444)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1014)

Tib

--
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