Re: [TEST] Apache Struts 7.0.0-M6 test build is read
Lukasz Lenart <[email protected]>
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <CAMopvkM-Hu=B66f6cFttxU5CYDRFL_4wtJuKA1MQ=eG-dQ5f8w@mail.gmail.com> |
pon., 22 kwi 2024 o 10:35 Greg Huber <[email protected]> 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