Aborting upload from a servlet

Posted by Zizzencs on Stack Overflow See other posts from Stack Overflow or by Zizzencs
Published on 2008-10-01T11:07:21Z Indexed on 2010/04/12 9:33 UTC
Read the original article Hit count: 341

Filed under:
|
|

I'd like to limit the size of the file that can be uploaded to an application. To achieve this, I'd like to abort the upload process from the server side when the size of the file being uploaded exceeds a limit.

Is there a way to abort an upload process from the server side without waiting the HTTP request to finish?

© Stack Overflow or respective owner

Related posts about java

Related posts about upload