File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes passing xml to jsp/java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "passing xml to jsp/java" Watch "passing xml to jsp/java" New topic
Author

passing xml to jsp/java

shravan kodam
Greenhorn

Joined: Nov 15, 2005
Posts: 6
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...
 
 
subject: passing xml to jsp/java
 
Similar Threads
Problems with AJAX and XML
Ajax + struts
Simple Ajax example doesn't work
Can't get first example to work
JavaScript not working in IE7 but working in firefox