Register / Login
Win a copy of
Kotlin in Action
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
commons file upload - Too long for the error page to display
posted 10 years ago
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?
Alongwith being a good coder, try to be a good professional as well!
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
File Upload using commons-fileupload-1.0
How to store and retrive image through jsp page to oracle?
Multiple file upload
commons Fileupload progress Listener