Hi all. In Javascript I can send XML string to JSP server (XmlAction.jsp):
Javascript Code:
var xmlDocument = "<?xml version="1.0" encoding='ISO-8859-1'?>
<Customer>
.......
</Customer>
"
var httpRequest;
httpRequest = new XMLHttpRequest();
httpRequest.open('POST', "http://example.com/XmlAction.jsp", false);
httpRequest.send(xmlDocument);
My question: How can I get XML data in JSP Page XmlAction.jsp ?
Can you give me some java code. Thank all ^^