Hi We have the Option of uploading a file from our site.
I use OReilly Classes for Uploading files..In that I had changed the DEFAULT_MAX_POSTSIZE as 10 MB.. When an user tries to upload a file greater than 10 MB , it results in "Page cannot be displayed".The Exception is caught but the exception not thrown. When i tried to read the file size using Request.getContentLength(), it resulted in Corrupt form data: premature ending" or "Separation boundary was not specified" But i am able to read the file size after calling the Oreilly's Upload code. Is there any way i can read the File size before sending it to Oreilly's upload code..or any other ways TIA Regards , -Arul =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
