Re: [Actionframework-users] problem while uploading big files
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2003-01-25 18:45:11
|
> I just wanted to upload a 8mb file, but I become the following error: > onException(): org.actionframework.FileUploadException: I/O error > ocurred while reading file upload request or file too big; nested > exception is: java.io.IOException: Content Length Error (8356263 > > 2097152), [...] so it seems that this property isn't recognized. Good catch! There should be 'maxUploadFileSize' parameter on ActionServlet line 450 (AS 0.93c) or line 464 (AS 0.94beta): multipartRequest = new ServletMultipartRequest(request, uploadDirectory, maxUploadFileSize); Btw, there is another problem w/uploads in 0.94beta, which I've fixed. -Petr -- [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] |