Hi,
I have to create a application using
struts whose job is to generate reports at the server side based on the user inputs.
However there is a requirement that whatever processing is done at the server side should be informed to the user in the browser at the same time.
For example: If server is generating 5 reports then user should be informed that:
- 1st report is being generated.
- 1st report completed
- 2nd report is being generated.
....
and after generating all the 5 reports, the response should be sent to the user.
Question:
- Is it possible to implement the above requirement using ajax?
- Has anyone implemented such kind of feature and if yes how?
Any help or suggestion are welcome
Thanks.