| Author |
Read a XML File from WEbserver using Ajax
|
Ramesh Shanmugam
Ranch Hand
Joined: Sep 13, 2004
Posts: 132
|
|
Hi, I am new to AJAX. I have a XML file residing in the webserver, say ranch.xml. I would like to read the valus of the ranch.XML and have to update my DOM in the HTML page?? Is there a way to do like this??? is so can u pls tell me how to do that. Thanks in advance, Ramesh
|
Ramesh Shanmugam - SCJP 1.5
|
 |
Krishna Srinivasan
Ranch Hand
Joined: Jul 28, 2003
Posts: 1803
|
|
This links will help: http://www-128.ibm.com/developerworks/library/j-ajax1/?ca=dgr-lnxw01Ajax https://bpcatalog.dev.java.net/nonav/solutions.html http://java.sun.com/developer/technicalArticles/J2EE/AJAX/
|
Krishna Srinivasan
OCAJP Mock Questions
|
 |
Barend Garvelink
Ranch Hand
Joined: Dec 07, 2004
Posts: 64
|
|
Originally posted by Ramesh Shanmugam: Hi, I am new to AJAX. I have a XML file residing in the webserver, say ranch.xml. I would like to read the valus of the ranch.XML and have to update my DOM in the HTML page?? Is there a way to do like this??? is so can u pls tell me how to do that. Thanks in advance, Ramesh
That's precisely what Ajax is designed to do. I found the article on developer.apple.com to be a nice, concise intro to the API. Check it out: http://developer.apple.com/internet/webcontent/xmlhttpreq.html Note that you do have to understand a bit of W3C DOM to make the most of it.
|
SCJP 1.4, SCJD 1.4, SCWCD 1.3, ICSD:Websphere 5.1
|
 |
Ramesh Shanmugam
Ranch Hand
Joined: Sep 13, 2004
Posts: 132
|
|
Hi Krishna Srinivasan & Barend Garvelink Thanks for your reply.. i will go thru the Links which you gave and if i have any doubt i will post queries again. Regards, Ramesh
|
 |
 |
|
|
subject: Read a XML File from WEbserver using Ajax
|
|
|