File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Detect if download completed?

 
Steve Ford
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using ServletOutputStream to send binary data to a user. Is it possible to detect if the download has completed, and the user has NOT canceled the download while it was in progress?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you would recieve some sort of broken stream exception if the user closes the browser before the download is complete.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic