> 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.

If you think about how HTTP works, the client makes a request, then the
server sends a response.  The client doesn't expect or look for the
response until the request has completed.  So if the server decided the
request is too large to process, what's going to happen?  Either the
server "eats" the request to generate a proper error message thus
wasting bandwidth, or the server "hangs up" on the client while the
client is sending the request.  You're seeing the latter behavior.

-jh-

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to