Re: Help with Thread - Long requests
Re: Help with Thread - Long requests
- Subject: Re: Help with Thread - Long requests
- From: Amedeo Mantica <email@hidden>
- Date: Mon, 23 Feb 2009 21:44:43 +0100
I need to start a thread and be able to navigate to other wo webpages
while it's still running.
Actually I'm able to do it only if i create a subclass that extends
Thread in the component that will start it.
I have multiple components that should start the same thread, can I
put my Threadable class out of components?
Amed
On 23/feb/09, at 20:30, Chuck Hill wrote:
On Feb 23, 2009, at 10:18 AM, Amedeo Mantica wrote:
Hello,
I was using AjaxLongResponse and it works very very well.
I noticed that during the task I can navigate throug pages and the
tast will continue to run, this is great !
Now, I wold like to use this tast session wide...
I created a class that extends Thread , but my app gets hang on the
task until the it finish.
Probably I do not know much about threading, so I surely made some
mistakes
can you help me?
Thanks
Amedeo
I don't understand what you did, but you can't touch the session in
a background thread.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden