Li Ying wrote:
>
> My suggestion:
>
> (1)I believe you can use ZipOutputStream to output the zipped data to
> the response OutputStream directly, instead of a temp file. So no temp
> file need to be created.
>
Hmm, write to the response.outputStream directly from within my action? That
would work I guess. Any examples of doing this in struts 2 and how to
"navigate" to the next display after the download?
In this instance the first option would be best as I don't need the temp
file, it was my first solution to providing the StreamResult with an input
stream that would download multiple files.
Regards
--
View this message in context:
http://old.nabble.com/File-Download-with-multiple-files.-Design-question-tp30256036p30258354.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org