Skip to content

[ISSUE] Use servlet.multipart.enable and commons-fileupload2-jakarta #15280

Description

@tgkprog

Article and Module Links
https://www.baeldung.com/spring-apache-file-upload
https://github.com/eugenp/tutorials/tree/master/spring-web-modules/spring-rest-simple

Describe the Issue
In newer spring boot the property to tell boot not to handle file uploads itself is
servlet.multipart.enabled and not spring.http.multipart.enabled

Also be good to update the article with new apache file up that has jakarta imports instead of javax i.e.
org.apache.commons
commons-fileupload2-jakarta

Also see https://stackoverflow.com/a/51924188/1643558

How about a manually run a html jaavscript integration test that uploads a text file of randomly created characters of 3GB with fixed first line and last line to allow for validation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    on-jiratriagedIssues reviewed by a dev and considered valid. Will be added in Jira.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions