If the file exists on the server's HDD, you can use DownloadLink.

Else, if you need to generate it on the fly, have a look at RequestCycle#setRequestTarget

Edgar Merino a écrit :
Hello,

How can I allow a user to download a file from a stream? for example an xls that's generated when the user clicks a "download" button? where should I place the file to be downloaded?

Thanks in advance,
Edgar Merino

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to