cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <>
Subject Re: Send Page, continue processing
Date Mon, 01 Mar 2004 18:40:28 GMT
On Mon, 2004-03-01 at 19:14, Ugo Cei wrote:
> Jan Hoskens wrote:
> > If I use sendPage() instead of sendPageAndWait() the pipelineprocessing is
> > given back to cocoon (in the docs), so if I place some code after that, will
> > cocoon first end that function (and thus giving a response) and goes on with
> > the remaining code? I know that this isn't the idea behind that function, I
> > do use it for its normal behaviour, but it's just a thought!
> If I understand your question correctly, yes, code following 
> cocoon.sendPage will be execute immediately, _while_ the response in 
> being sent to the client.

hmm, with "while" you imply that both are executed on separate threads?
This would suprise me.

> You can check it out yourself by putting a "print" statement right after 
> sendPage.

Bruno Dumon                   
Outerthought - Open Source, Java & XML Competence Support Center                

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message