Re: 7.1.1 upload with zero file size
Lukasz Lenart <[email protected]> Sat, 4 Oct 2025 10:54:00 +0200
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <CAMopvkP7kZUmVuL1vWZ5ZPZw0zrDXLkTVpdF==6YyMHn2MuwAQ@mail.gmail.com> |
I tested the empty file upload behaviour using the example app https://github.com/apache/struts-examples/tree/main/file-upload It uses single <s:actionerror/> tag and based on struts-default package, and I get single error message: > File zero.txt for field upload is empty (0 bytes). Empty file uploads are not allowed. I assume you have used a custom interceptor stack (as you have mentioned early) and that was the cause. Cheers Ćukasz