Whenever I am selecting a file of size more than 50MB to upload, my JBoss server is throwing an exception and JSP is hanging. So, instead of validating the file size ...
2. Validate file size before uploading to server coderanch.com
3. upload file validations java-forums.org