struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc <ruch...@gmx.de>
Subject Re: File Upload size restriction ??
Date Mon, 30 Jun 2003 11:04:05 GMT
Nicolas De Loof wrote:
> In fact I've got this strange behaviour :
> 
> - Form-bean is validated a first time. MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEEDED
is setted and an
> ActionError is returned by validate().
> 
> - browser go on uploading for a long time ... (5 minutes for 10Mo upload on localhost)
> 
> - validate is called A SECOND TIME.
> MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEEDED is setted and an ActionError is
returned by validate().
> 
> - browser show errors.
> 
> 
> My code looks like Struts upload example. I certainly not understood something !
> 
> Nico.

Tried a 135 MBytes upload on localhost. Took 10 sec to complete and the 
returned JSP-paged showed the correct error in the browser.

Maybe you should check first, why the uploads takes so long on your machine.

Regards

Markus



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message