Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

windows file upload dialog event capture

 
vikas sharmaa
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
on click of upload button, i am setting current cursor to hour glass and then calling a java method. where i am setting response content type and other parameters to open file upload dialog box.

response.setContentType("application/octet-stream");

now, a windows file upload dialog box is opening. i pressed cancel and get back to the current page. but still hour glass is appearing on the screen.

how can i get notification of the windows dialog box is closed, so that i can reset cursor to auto?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no way to receive such notification.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic