This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Detect if download completed?

 
Steve Ford
Greenhorn
Posts: 20
  • 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
  • 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