Hi all,

we have a struts action which runs in some cases very long (> 1min). In this 
case, a firewall between client and server cuts the connection due to 
inactivity. To avoid this timeout, we execute the core action in a thread, 
while the wrapper action polls the result of the action thread. If the result 
(the forward object) comes in time everything is ok and we forward to the next 
page. If the action takes too much time we forward to a refresh page, just 
before the firewall timeout will be activated. This refresh page calls the 
wrapper action again, and polls for a result of the core action thread until it 
is available. The problem is, that the core action uses the request and 
response objects. But these objects will be invalid, if the refresh page calls 
the wrapper action again and therefore the core action pukes.
We use struts 1.1 and tomcat 4.1.x
Does anybody have an idea, how to solve these problem?
Thanks in advance for help.
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to