pon., 22 kwi 2024 o 10:35 Greg Huber <gregh3...@gmail.com> napisaƂ(a):
> File upload also works OK, but Without the <File> in UploadedFile now I must 
> do the cast manually:
>
> for (UploadedFile uploadedFile : uploads) {
> ...
>    new FileInputStream((File) uploadedFile.getContent())
> ...
> }

I need to think this through as I was planning to support pure
streaming of files directly into action, yet maybe this would require
using a new type `StreamFileUpload` instead of having a generic type.


Cheers
Lukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to