Is it possible to have one page send an ajax request and have another page handle the response ?
The use case is that of a long running task. The user submits an ajax post to the server, the server processes the job for the time it takes, could be a few minutes, and then the response is returned, but the user may have browsed to another page.
I would like to be able to have the same JavaScript functions to handle the response on all pages, in order to handle the ajax response from the original page. Is this possible ? If not any suggested solutions ?
I am using spring framework.
Thanks.