Skip to content

Use Servlet API 3.0 HttpServletRequest.getPart to process form data#492

Open
tenzap wants to merge 1 commit intow3c:mainfrom
tenzap:servletApi3.0-getPart
Open

Use Servlet API 3.0 HttpServletRequest.getPart to process form data#492
tenzap wants to merge 1 commit intow3c:mainfrom
tenzap:servletApi3.0-getPart

Conversation

@tenzap
Copy link
Contributor

@tenzap tenzap commented Mar 14, 2026

Fixes: #455

  • Add @MultipartConfig annotation
  • use HttpServletRequest.getPart to get the form data

Please review carefully since my java & servlet experience is low.
I have no idea if this would still work with jigsaw server since this requires Servlet API >= 3.0

@tenzap tenzap force-pushed the servletApi3.0-getPart branch from 3ff6efb to e330858 Compare March 14, 2026 10:37
Fixes: w3c#455

- Add @MultipartConfig annotation
- use HttpServletRequest.getPart to get the form data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

validation by file upload fails on tomcat 11 (Unable to process parts as no multi-part configuration has been provided)

1 participant