Hi Kieran,

On 25/02/2006, at 9:23 AM, Kieran Kelleher wrote:

Is it possible for me to generate a response back to the user in a separate thread without a matching request?

For example, let's say user clicks a link to download a huge file that's going to take 1 minute to generate before it can be downloaded. Can I create a new Runnable class, push the WOContext (I guess) to it and start it's run() and have that thread return a response later using the WOContext while the user has gone off browsing other pages? If so how do I return that response?

As was mentioned, not using that technique. But you can use JavaScript's XMLHttpRequest to asynchronously place the request and upon a response becoming available to fill in or replace the content of a div with whatever you like...

with regards,
--

Lachlan Deck


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to