Upload huge file size: "The page cannot be displayed" browser er

Discussions

Web tier: servlets, JSP, Web frameworks: Upload huge file size: "The page cannot be displayed" browser er

  1. I have an upload file operation in the web application. UploadForm.jsp is the form,
    and UploadAction.jsp is the form processing. The web server is Websphere.

    //UploadForm.jsp
    <FORM NAME="InputForm" ACTION="UploadAction.jsp" METHOD="POST" enctype=multipart/form-data>
    <input type="file" name="fileName">
    //etc ...
    </FORM>

    After I deploy the application to the web server, if I upload a small file size, it is fine.
    But if I upload a huge file size more than 10MB, then it cannot even go to UploadAction.jsp.
    After 30 seconds, it has error "The page cannot be displayed" shown on the web browser.
    It cannot even go to UploadAction.jsp. But both UploadForm.jsp and UnploadAction.jsp are
    in the same machine.

    Interestingly, if I test in local machine, I can upload any file size without problem.

    I don't have any hints now. any ideas?
    please advise. thanks!!
  2. hi

      can u give me full code for both jsp files.
  3. I have an upload file operation in the web application. UploadForm.jsp is the form,and UploadAction.jsp is the form processing. The web server is Websphere.//UploadForm.jsp<FORM NAME="InputForm" ACTION="UploadAction.jsp" METHOD="POST" enctype=multipart/form-data><input type="file" name="fileName">//etc ...</FORM>After I deploy the application to the web server, if I upload a small file size, it is fine. But if I upload a huge file size more than 10MB, then it cannot even go to UploadAction.jsp. After 30 seconds, it has error "The page cannot be displayed" shown on the web browser. It cannot even go to UploadAction.jsp. But both UploadForm.jsp and UnploadAction.jsp arein the same machine.Interestingly, if I test in local machine, I can upload any file size without problem. I don't have any hints now. any ideas? please advise. thanks!!

    What api are you using for the upload? Is it a custom developed one or any open source library?