how about putting the file in some location the user can access directly 
(htdocs of webserver) and just render a link with the name of your file? 

-----Ursprüngliche Nachricht-----
Von: Edoardo Campagnano [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 9. Januar 2007 15:29
An: [email protected]
Betreff: download a file

Hi to all,

here's the problem: I have a file in my DB as a byte[] array and i want a
link to permit the user to download the file. First, I'm able to ricreate a
disk-version of the file using FileOutputStream, the file is good (I can
open it on the server) but is generated on request thus i can't use it as an
asset in tapestry, how can I permit the user to obtain it?

 

Thanks a lot, Edoardo

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to