• Post Reply Bookmark Topic Watch Topic
  • New Topic

commons file upload - Too long for the error page to display

 
Tina Desai
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have implemented file upload with the commons file upload.

We have set the upload.setSizeMax(1*1024*1024); statement as we want to restrict the size to 1 MB.

When user tries to upload files greater than say 7MB, on some machines,
the control goes to the error handling block, executes it but the rd.forward takes a long time to display the error page.

Any idea why this may be happening?

Regards,
Tina
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!