create an inuque dl-link and delete it from your db after downloading...

-----Urspr�ngliche Nachricht-----
Von: Paolo Victor Gon�alves Soares / Projeto Ourgrid - Projeto OurGrid
[mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 11. August 2004 21:37
An: Jetspeed Users List
Betreff: Downloading files with portlets.


Hello,

I'm developing a jetspeed portlet, which runs an application on the 
server with some parameters given by the user as input and produces an 
output file that should be available for downloading.

The application runs, the file is created but I'm having a problem with 
the download implementation: the file should be available to, and only 
to, the user who had ran the portlet. This means that I can't just copy 
the file to a folder in the portal, because any user would have access 
to it.

I've tried putting the output file in a "hidden" directory (such as the 
user's psml dir) and download it through the HttpServletResponse, but I 
keep getting "getWriter() has already been called for this response" 
exceptions.

So, do you guys have any idea of how to implement this?

Thanks for your attention,
~Paolo Victor


---------------------------------------------------------------------
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