Re: Servlet which read and change xml file
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
I think i havent declared it clearly! It cant be a problem of path because, firstly, with an openXMLAndReaditPlease() procedure, which use the same path i can read individually nodes value of xml file . I can put out all values too. That means i have access to file. The problem is if you call for example document.getDocumentElement() , normally you will get the complete XML Tree(that is what i will and later save this as userlist2.xml) But in this case i get only this line as result of this call --> [listeuser : null] you see the application try to get root element of XML file (<listeuser> is root Element in XML file and has some child call <user>) The other reason is, that with the almost same Code and same path but not in Servlet version I have not at all problems.!! It seems to be a problem with mapping of XML Tree in RAM when i try to use servlet and XML together?????????? ___________________________________________________________________________ To unsubscribe, send email to [email protected] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html