I am looking at issue,
http://java.net/jira/browse/SERVLET_SPEC-33 ,
" Need to clarify the behavior of HttpServletRequest.getPart/getParts"
We propose to throw IllegalStateException for getPart/getParts when
there is no @MultipartConfig or multi-config in deployment descriptors.
Javadoc changes:
Original:
|IllegalStateException| - if the request body is larger than
maxRequestSize, or any Part in the request is larger than maxFileSize
New:
|IllegalStateException| - if the request body is larger than
maxRequestSize, or any Part in the request is larger than maxFileSize , or there is no @MultipartConfig or multi-config in deployment
descriptors
Please let me know if there is any comment.
Shing Wai Chan