This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi I have a JSP page with a button which when clicked does enormous processing at the back-end and takes around 10 minutes to complete. I want to provide the users some status update messages of what happening in the JSP. Can anyone point to some sample application/design/code samples ideas of how to go ahead ?
Actually it is an existing application and I cannot change the existing mechanism. What I need is to some way display display some user friendly message which refreshes intermittently about the processing which is happening at the backend. The backend processing happens in three stages and I want to display the user different messages as each stage starts. Please let me know if you have any idea.
The standard way to do this is to kick off the long running process in another thread or process and return immediately to a polling status page.
The long running process can write to a database field, a file, or a scoped variable with the status of it's progress. The polling page refreshes every n seconds, checking the progress (where ever the long running process writes it) with each iteration. [ April 13, 2005: Message edited by: Ben Souther ]
Hi Ben Can you please tell me some URLs where I can find som sample code/workign application for such a mechanism. I am not that great in coding so need some help to start writing it and then I can take it from there. Thanks Kawa