maybe you need ResourceLink instead backed by ByteArrayResource

On Wed, Aug 17, 2011 at 9:04 PM, eugenebalt <[email protected]> wrote:
> Just one more question,
>
> Is it possible to do a resource download from memory, *not* from a file on
> the server?
>
> I currently have a DownloadLink pointing to a generated file. That is fine,
> but we have multiple files getting generated and residing on the server that
> don't get cleaned up. We are interested in whether it's possible to do a
> download purely from memory.
>
> BTW, I am aware that DownloadLink has a method called
> "setDeleteAfterDownload(true)", but that's not what we want. If we have
> that, then the 2nd time the user clicks the same link, there's an error.
>
> We want correct file download each and every time the link is clicked, we
> just don't want server files getting created.
>
> Thanks
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/How-to-avoid-keeping-files-on-the-server-with-DownloadLink-tp3750767p3750767.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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

Reply via email to