Hello Tapestry-upload uses commons-fileupload internally.In the other hand MultipartConfig is for servlet 3 and it triggers the servlets builtin multipart/form-data request body parsing.
So tapestry-upload cannot be used if you are using MultiPartConfig since the request was already parsed via Servlet. As for the max-size I didn't find any documentation specifying that MultiPartConfig will check for that setting and throw an exception before the file is completely uploaded Thanks Dimitris Zenios On Sun, Apr 12, 2015 at 12:19 AM, Harry Zhou <superha...@gmail.com> wrote: > Hi Friends! > > I am using symbols upload.filesize-max and upload.requestsize-max to limit > the size of upload files. > > As many of you have noticed, however, an UploadException won't actually be > thrown until a large file has finished uploading. > > I understand that the solution may be to place a MultipartConfig in web.xml > (I am using Jetty). The samples I can find, however, all point to placing > the MultipartConfig into a servlet element, which the tapestry web.xml does > not have (because of the filter mechanism?). > > Any guidance on how to throttle multipart request to a tapestry web app > when the request exceeds a max size would be greatly appreciated. > > Best, > Harry >