Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

passing xml to jsp/java

Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic