Thanks everyone for the replies!
I suspect you probably want to be able to receive the response after navigating away from the page that initiated the request. This is not possible... but you can fake it.
Yes, this is exactly what my requirement is.
The trick is to keep the piece of code that initiated the AJAX call, as you navigate around. Probably the easiest was is to stick the the whole site/app in an iframe.
When you say "piece of code" are you referring to the url & its parameters?
---
UPDATE: I have the functionality to run the asynchronous process, using a separate Struts Action. (which gets called from the Ajax request) The 'asynchAction' starts a thread instance of my utility. (which runs the process). My problem now is sending a notification to the client that the process has finished...
I have read through several other forums, which state that the client should periodically refresh, or re-submit the request. Then in the asynchAction have a condition to see if the process is finished. This seems to be managable, but does anyone have other ideas?
I basically need a method to notify the client that the process has finished. (after the initial response has been sent.)
Any and all input is greatly appreciated!