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!!
Discussions
Web tier: servlets, JSP, Web frameworks: Upload huge file size: "The page cannot be displayed" browser er
-
Upload huge file size: "The page cannot be displayed" browser er (2 messages)
- Posted by: Matt Louden
- Posted on: January 04 2005 23:30 EST
Threaded Messages (2)
- can u show me the code for UploadAction .jsp by pankaj singh on January 11 2005 06:21 EST
- Upload huge file size: "The page cannot be displayed" browser er by Kishore Senji on January 12 2005 01:18 EST
-
can u show me the code for UploadAction .jsp[ Go to top ]
- Posted by: pankaj singh
- Posted on: January 11 2005 06:21 EST
- in response to Matt Louden
hi
can u give me full code for both jsp files. -
Upload huge file size: "The page cannot be displayed" browser er[ Go to top ]
- Posted by: Kishore Senji
- Posted on: January 12 2005 01:18 EST
- in response to Matt Louden
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?