Hi, My approach is creating a service. the service will provide the url of the file. So we can use the url with RedirectException.
Gunna Julian Wood <[EMAIL PROTECTED]> wrote: How do you do it? I would like to click a link, have a listener assemble a CSV file, and send it back as a download (ie change a few headers behind the scenes like Content-Type and Content-Disposition). It seems that I need to write my own component, but it would also seem this should be a pretty common request - yet I can't find it. I do see it in the (for purchase - no offense intended) book "Enjoying Web Development", but surely that's not the only example or documentation on the subject? So what's the normal way to do this? Just a pointer in the right direction. Thanks, J -- Julian Wood Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
