Looking/testing the main branch, I get no errors only this in the log:

WARN [http-nio-8080-exec-9] multipart.JakartaMultiPartRequest (JakartaMultiPartRequest.java:117) - Storing uploaded files just in memory isn't supported currently, skipping file: zero-filesize-test.gif!

WARN [http-nio-8080-exec-9] interceptor.ActionFileUploadInterceptor (ActionFileUploadInterceptor.java:167) - Could not find a Filename for upload. Verify that a valid file was submitted.

Is main the correct branch for 7?

On 04/10/2025 09:54, Lukasz Lenart wrote:
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

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

Reply via email to