This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes windows file upload dialog event capture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "windows file upload dialog event capture" Watch "windows file upload dialog event capture" New topic
Author

windows file upload dialog event capture

vikas sharmaa
Ranch Hand

Joined: Jun 28, 2007
Posts: 191
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

Joined: Jan 10, 2002
Posts: 60766
    
  65

There is no way to receive such notification.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: windows file upload dialog event capture
 
Similar Threads
Java Swing Custom Cursor ( Mac styled rotating dots busy cursor)
Solaris bug?
What is the expected behaviour of the cursor when a dialog appears?
Authentication Dialog Box
Need help with wait cursor and setEnable( false )