Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing xml to jsp/java

 
shravan kodam
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I have the JS function which i connect to a .dll's and get back XML String. I want to pass this xml to my java/jsp. I am guessing that i can do it with AJAX.

here is what i am trying to do:


The problem here is:. I am not able to get into (xmlHttp.status == 200) it is failing here and when i remove this 'if' stmt and try i am getting an alert stmt with all junk. Please help me in solving this issue.

I am open to any ways to pass xml from javascript to java/jsp . It is not like I will have to use only this method. If i am wrong please suggest me some suitable method.

Thank you...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic