This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes  Question to Sas Jacobs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark " Question to Sas Jacobs" Watch " Question to Sas Jacobs" New topic
Author

Question to Sas Jacobs

venkatjava venkat
Greenhorn

Joined: Nov 20, 2005
Posts: 5
AJAX can be used in javascript to return text output (used to inject html and javascript dynamically in a page).Text output can be used to return data also, and regular expresssion can extract the required data. We could even use JSON to construct a java script object from a servlet and return it. Now this can be evaled and javascript object is created at runtime. Thus we have many different ways of doing this. Then What is the advantage of returning xml output through AJAX ?
Milesh Dcunha
Greenhorn

Joined: Jun 19, 2006
Posts: 13
JSON is language independent Data-interchange format just as XML is ....


The world is becoming an orgy of self-sacrifice when it is precisely the self that should not be sacrificed.
Sas Jacobs
Author
Ranch Hand

Joined: Jun 24, 2006
Posts: 46
Hello

I answered this in your previous post which seems to be identical.

Cheers

Sas Jacobs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question to Sas Jacobs
 
Similar Threads
How to capture output stream after do post from a html form
Binary Data using AJAX
Beginning XML with DOM and Ajax: From Novice to Professional
How to capture output stream after do post from a html form
Ajax and related queries