Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to show the notification window in Jsp  RSS feed

 
babu krishnan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I need to show a notification window or box saying that the request is processing and wait for few minutes in jsp.
Scenario is like this..
User submits his requests... the processing of request take sometime... i want to show user a window(similar to a window that is coming up while downloading files from internet) that "Request is processing....." And i want to send a status of request whether it got succeeded or not..
If you have code samples .. provide me that
Thanks & Regards
K.Babu
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds to me like you want the initial request to start a Thread to do the work and send a response page that contains Javascript to display an alert while polling your servlet to see if the working Thread is done.
I think this forum and the servlet forum have seen a number of conversations about this sort of thing so you might do a search.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!