You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <da...@gmail.com> on 2010/09/16 04:03:37 UTC
Re: How to download a file without creating it on a server
On Wednesday, September 15, 2010, wrote:
> I would like to collect the data by accessing database and create the
> contents for a download file.
>
> Without creating the real file for InputStream that the struts2 convention
> proposes to use for download, how to code?
A stream is a stream-doesn't need to be a file. Or just stream
directly to the response and return null.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org