Hi,

I want to download a file via content disposition from browser. I am doing
this:

return new StreamingResolution(<content-type>,
fileInputStream).setFileName("test.mp3");

Can this be done in any other way?

Because I am facing a problem when I am closing the Stream in the finally
block, an exception is thrown
"IOException: Trying to read from a closed stream"

Please help

Regards
Arnab
-- 
View this message in context: 
http://www.nabble.com/File-Download-in-Stripes-using-HttpClient-tp21558239p21558239.html
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to