cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kumar, Kiran" <>
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.


Kiran Kumar (Raj)

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

View raw message