dcsimg
Tomcat 3.2.1 uploading file problem!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nicolae_Jurescu
Posted On:   Tuesday, September 16, 2003 03:22 AM

Hi, I am having a requirement for which i need your help.My requirement is,i need to upload a file to the server and the limit of the file size is 5MB and if i try to upload a file greater than this then it should redirect me to a error page which is just another servlet(catches the error or exception and displays).I am using com.orielly.servlet package,that is the MultipartRequest file. The server which I am using is Tomcat3.2.1.The problem i am facing is,when i uplaod a file less than 5MB then the file gets uploaded very fast to the server, but when i try to upload a file greater than 5MB then it does not redirect to error page nor catches the exception but instead gives a pop   More>>

Hi,
I am having a requirement for which i need your help.My
requirement is,i need to upload a file to the server and the limit of
the file size is 5MB and if i try to upload a file greater than this
then it should redirect me to a error page which is just another
servlet(catches the error or exception and displays).I am using
com.orielly.servlet package,that is the MultipartRequest file.
The server which I am using is Tomcat3.2.1.The problem i am facing
is,when i uplaod a file less than 5MB then the file gets uploaded very
fast to the server, but when i try to upload a file greater than 5MB
then it does not redirect to error page nor catches the exception but
instead gives a popup Internet Explorer message as "The connection with
the server was terminated abnormally" and i dont know how to proceed,i
have tried all means but cannot find a solution!.

On tomcat 4.x it's running ok, but I need Tomcat 3.2.1 :)!

Thanks in advance, Nicu!

   <<Less

Re: Tomcat 3.2.1 uploading file problem!

Posted By:   Stephen_McConnell  
Posted On:   Tuesday, September 16, 2003 05:29 AM

How are you checking to see if the file is > 5MB?


And what code are you using to redirect to the error page?


Stephen McConnell

About | Sitemap | Contact