Jquery progress bar server side
问题 I have a long running process(not definite time) in server-side(which runs number of queries in db) which takes more than 30s. I want to display the progress in % to the user. I'm using jquery ,struts in my application. Is there a way to do it? 回答1: This is how we did it. When the process is triggered create a GUID from the client and pass it to the server. In the server side, run the process and during the run, keep storing the progress in session/cache using the GUID as key. In the client