Re: T5: Stop Receiving Request

2008-07-17 Thread Josh Canfield
> > This is interesting, is there a way to know before the file is sent the > size > of coming upload? > >From the client side you do not have access to the file that is going to be uploaded, all you can do is inspect the POST on the server side. I believe that most modern browsers will send the c

Re: T5: Stop Receiving Request

2008-07-16 Thread Angelo Chen
Hi Josh, This is interesting, is there a way to know before the file is sent the size of coming upload? this will be very handy to warn the user for a long file uploading operation or just simply rejects the upload as the file size is beyond the allowable size. Angelo joshcanfield wrote: > >

Re: T5: Stop Receiving Request

2008-07-16 Thread Josh Canfield
By the time you are checking the file size the whole stream has already been read in by the MultipartServletRequestFilter. The default is to have unlimited upload size. You can add configuration to change the limit. I believe this will work, but I have not tested it. public static void contributeA

T5: Stop Receiving Request

2008-07-16 Thread Martin Kersten
Hi User-Group, I expirence the following Problem: Using Tapestry + GWT I send a UploadRequest to a Tapestry Page. Once the Upload is processed the HTTP-Page containing 'OK' is returned, otherwise the Name of the Exception/Reason. On the server side the T5-page checks the size of the reques