Hello.

I was reading the documentation of FileUpload, and i have some doubts.
With the DiskFileItemFactory we can specify the bytes that will be
retained in memory and the temporary directory used when a item size
exceed the threshold.

With this we can have more control with the allocated memory, which is
very good.
What are the advantages of using streaming if we can use the
DiskFileItemFactory to have more control of the usage memory when
uploading a file to disk?

Thanks,
Pedro Ribeiro

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

  • Streaming Pedro Ribeiro
    • Streaming Pedro Ribeiro

Reply via email to