"Cindy Ballreich" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 05:50 PM 6/9/03 -0700, Martin Cooper wrote: > > > >If SizeLimitExceededException is thrown, that happens before parsing of > >the multipart body even starts, since the size limit is based on the size > >of the entire request. > > So setSizeMax sets the total size of the request and not the maximum size of individual files in the request? This means that if two files were uploaded that were each smaller than SizeMax, but when combined were larger, a SizeLimitExceededException would be thrown. Is this correct?
Yes, that's correct. What you specify in setSizeMax() is compared with what's returned by request.getContentLength(). -- Martin Cooper > > Cindy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]