Did you try:

> return new StreamingResolution("audio/mp3", <FileInputStream Object>);


looks like you're not providing a valid mime type.

On Dec 9, 2008, at 10:28 AM, arnab_ghosh wrote:

>
> Hi All,
>
> I am trying to implement file download in Stripes. Presently I am  
> generating
> a FileInputStream from the File URI in ActionBean.
> I have set the response header for content disposition.
> I am returning this fileinputstream wrapped in a Streaming  
> Resolution as:
>
> return new StreamingResolution("mpeg3", <FileInputStream Object>);
>
> But the browser is unable to generate the download window.
>
> Can you please help?
>
> Regards
> Arnab
> -- 
> View this message in context: 
> http://www.nabble.com/File-Download-in-Stripes-tp20919742p20919742.html
> Sent from the stripes-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,  
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to  
> help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to