Timothy Orme wrote:
My problem really then, is that my action to make a zip simply takes too long to do its thing, and the browser refuses to wait.
I don't know if this'll help you, but you could create and use a modified version of StreamResult that makes many more of the response.addHeader() and response.setXxx() calls before the InputStream is requested from your action (which I believe is where you're saying your action takes too long). This *might* enable more of the header to be sent out to the browser earlier...
<param name="contentDisposition">attachment; filename="${fileName}.zip"</param>
It appears that you've got a space after that semicolon, which from my reading of the HTTP specification shouldn't be there. Presumably most browsers don't care, but...
Oh, and now in your struts.xml you can now use ognl's "%{}" instead of jstl's "${}".
-Dale --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org