Sending XML to the Sever with AJAX
A question that has come up to lately by people on JavaRanch and emails I received is how do I send an XML to the server using Ajax. It is possible to send an XML document in the request parameter. One thing you need to make sure is that you set the header correctly to text/xml and post the document to the server. This following is a basic example that highlights the fact that we are not limited to just sending query string and form values to the server, which seems to be implanted into certain developer’s minds.
TrackBacks[0]
Comments[3]
Posted by pascarello on July 20, 2005 11:46:57 AM EST