Hi I am also doing upload of file in our site and had the same problem of page cannot be displayed.But I was able to get the content length using request.getContentLength().
Did u use content-type=multipart/form-date in the html u wrote for the upload page ? If not then there can be possibility of currupted data. For page cannot be displayed problem, we did a workaround: We check the content length, if it exceeds then we do Thread.sleep(60000) (for one minute) and set a parameter in the session that file size exceeded. We have another jsp running in a hidden frame with the upload page which checks the session value at regular interval and if it get that session value as exceeded then it displays a message that file is too big and refreshes the upload page. Mohit =========================================================================== 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".
