currently when i 2nd time click on addNode button it creates a new XML Document object. and than add 1 NODE to that newly created XML Doc.
i guess this is something related to session... am i right ?
so when the same user is clicking on the addNode button. it shuld first check if Document is there or not else it should create a new document object and than add a new node to it.
This should be executed once per user session and doc shuld be available to entire application.
how it is possible ? [ July 15, 2007: Message edited by: Bear Bibeault ]
Hanuma Deepak Muvvala
Joined: Nov 20, 2005
In the addNode logic first getSession by cllaing getSession(false); I think you will have always session so this will return a session object then call isNew() method on this if it new create the Document else just add node to the document. Hope it may solve........