cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kumar, Kiran" <kku...@kheaa.com>
Subject RE:Synchronizing Cocoon Action
Date Tue, 19 Apr 2005 18:14:49 GMT
how can we restrict a user from accesing cocoon action multiple times (
prevent multithreading ).

can we use synchronization? 

the problem is , this action is building an XML DOM object. (and can be
accessed by clicking on a link. In this scenario, he is clicking on the link
multiple times with no time gap)  

I've synchronized the creation of DOM obj using DCL Idiom, but I am creating
a new Root element

for each thread.  when I try to add the root element say of the 5th thread
to the document , I am getting a WRONG_DOCUMENT_ERROR. 

I am glad to give you more information.

thanks

Kiran Kumar (Raj)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message