Java – error “unable to process part because multi part configuration is not provided” when uploading file [copy]
•
Java
See the English answer > how to upload files to server using JSP / servlet? 12
Error message:
java.lang.IllegalStateException: Unable to process parts as no multi-part configuration has been provided
on-line
Collection<Part> parts = request.getParts();`
Solution
I have to add
allowCasualMultipartParsing="true"
In context On the context tag in XML
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码