Register / Login
Win a copy of
Java EE 8 High Performance
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 11 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!
Boost this thread!
How to store and retrive image through jsp page to oracle?
Multiple file upload