struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paweł Wielgus <>
Subject Re: File Download with multiple files. Design question
Date Sun, 21 Nov 2010 19:54:29 GMT
Hi Roger,
below is Off-Topic as for struts.

> That's what I'm doing, but the StreamResult requires an InputStream
> which forces the intermediate step of creating a temporary file

I'm not so sure, i haven't done it myself, but there were a discussion
here some time ago
pointing out that one can create some kind of sophisticated
that will do exactly what You want.
In short this stream would need to have access to single files
but creates zip stream on-the-fly.
Google "creating zip stream on the fly"  - there are some nice results.

Best greetings,
Paweł Wielgus.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message