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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to