reading a POST request XML in jsp

sportygirl

New Member
I'm trying to send a XML to a jsp using XMLHttpRequest. Can anybody tell me how to read the request XML in jsp? Below is the code i'm using to do a POST call. Thanks in advance!\[code\]var xmlHttpRequest=new XMLHttpRequest();xmlHttpRequest.open("POST",url,true);xmlHttpRequest.setRequestHeader("Content-Type", "text/xml");xmlHttpRequest.send("<xml><user_id>F1528</user_id></xml>");\[/code\]
 
Back
Top