public class MissingServletRequestPartException
extends ServletException
This may be because the request is not a multipart/form-data request,
because the part is not present in the request, or because the web
application is not configured correctly for processing multipart requests,
e.g. no MultipartResolver
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
requestPartName |
Constructor and Description |
---|
MissingServletRequestPartException(java.lang.String requestPartName)
Constructor for MissingServletRequestPartException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestPartName()
Return the name of the offending part of the multipart request.
|