cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: Having one instance of the XSPPage per thread
Date Thu, 12 Apr 2001 16:57:32 GMT
Nicolás Lichtmaier <> wrote:
>In the servlet specification, one can implement SingleThreadModel and
>have the servlet container run each request (thread) with a different
>instance of the object. I need this functionality in Cocoon


Why not just use

a) local variables, which are by nature thread-local

b) synchronized {} blocks

>and I'll
>probably implement it. If I do, will it be included in the standard

If you can provide a good argument for it, and the change doesn't break 
anything, maybe.

>The modification would involve adding a new attribute to
>xsp:page (singlethreadmodel="yes"?).

All modifications to the XSP language have to be discussed on xsp-dev.

Get Your Private, Free E-mail from MSN Hotmail at

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

View raw message