Sometimes I'll create a temp file via File.createTempFile and open an InputStream for that but you could just as easily use one of these techniques:
http://ostermiller.org/convert_java_outputstream_inputstream.html 2010/9/15 <lunch...@yahoo.co.jp>: > 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? > > Regards. > > -------------------------------------- > Get the new Internet Explorer 8 optimized for Yahoo! JAPAN > http://pr.mail.yahoo.co.jp/ie8/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Allen Lee Center for the Study of Institutional Diversity [http://csid.asu.edu] Arizona State University | P.O. Box 872402 | Tempe, Arizona 85287-2402 Office: 480.727.0401 | Fax: 480.965.7671 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org