To problem I think is that the web server (Apache in my case) sees that the content
length is too big and cancels the transfer, so that the servlet does not get a change
to process anything. I am using my own jsp page for file upload reading the content
line by line. With smaller files it works
To problem I think is that the web server sees that the content length is too big and
cancels the transfer, so that the servlet does not get a change to process anything. I
am using my own jsp page for file upload reading the content line by line. With
smaller files it works fine.
- Origin
Hi,
Does anybody know whether it is possible to limit maximum size of file upload in
Tomcat. At the moment, if I try to upload file larger than 1MB the server gives me an
error "Cannot find server or DNS Error". On what this size is dependent on?
Thanks,
Risto
==