Merge pull request #26678 from 1993heqiang

* pr/26678:
  Polish "Fix Commons FileUpload URL in reference guide"
  Fix Commons FileUpload URL in reference guide

Closes gh-26678
This commit is contained in:
Stephane Nicoll 2021-03-15 08:46:17 +01:00
commit 8bf16ee1f4
1 changed files with 2 additions and 2 deletions

View File

@ -1085,8 +1085,8 @@ request with a simple request parameter.
`MultipartResolver` from the `org.springframework.web.multipart` package is a strategy
for parsing multipart requests including file uploads. There is one implementation
based on https://jakarta.apache.org/commons/fileupload[Commons FileUpload] and another
based on Servlet 3.0 multipart request parsing.
based on https://commons.apache.org/proper/commons-fileupload[Commons FileUpload] and
another based on Servlet 3.0 multipart request parsing.
To enable multipart handling, you need to declare a `MultipartResolver` bean in your
`DispatcherServlet` Spring configuration with a name of `multipartResolver`.