Hi,

I am using the following servlet for uploading files.
http://www.servlets.com/resources/com.oreilly.servlet/index.html

The code works fine when the file size is lesser than the max file size. But
when the uploaded file size is more, the browser just shows the server could
not be found message.

Has anyone done something like this before. I want to trap the exception and
display an error message instead.

Also I found that Hotmail allows the user to upload the file and displays
the error only after the file has been uploaded.


Thanks
Nagarajan.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to