Menu

When UploadError event will be called ?

Irsath
2015-04-12
2015-04-13
  • Irsath

    Irsath - 2015-04-12

    If I throw any exception from server to client., It goes only to uploadSuccessHandler instead of uploadErrorHandler

    Question : Which response needs to send from server to client for calling uploadErrorHandler

    Please guide me about it. Thanks in advance

     
  • Shawn Quinn

    Shawn Quinn - 2015-04-13

    Assuming that your server is generating some kind of 500 error HTTP response (which is the default behavior in most servlet containers if your servlet throws an exception), then you should see the "UploadErrorHandler.onUploadError()" method invoked.

     

Log in to post a comment.