Similar to Oracle's MultipartConfig
example, I call request.getParameter()
prior to calling request.getPart
.
This works fine except for when the size of the file exceeds the maxFileSize
specified by MultipartConfig
.
When this is the case, request.getParameter
returns null.
Is this the intended result? I have to first check that getPart()
doesn't throw an IllegalStateException
and only then retrieve regular (text) parameter values?