p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   RSS and Atom (http://p2p.wrox.com/forumdisplay.php?f=167)
-   -   xmlhttp help (http://p2p.wrox.com/showthread.php?t=27451)

ojaynet March 30th, 2005 12:40 AM

xmlhttp help
 
i need a code to send an xml file from asp..and receive the same file in jsp...this is possible using xml dom's xmlhttp .....so can anyone help me an give the codes....


jay

jay

joefawcett March 30th, 2005 06:11 AM

If you're using classic asp then you can use the serverXmlHtttp class.

http://msdn.microsoft.com/library/de...asp?frame=true

Plenty of examples there.

As to receiving the request that depends on what Java Xml library you are using but basically you need to load the request's input stream into a DomDocument. Try some of the Java sites once you've picked a suitable processor.

There are examples of receiving xml in ASP under the link above, it's very similar using Servlets/JSP.

--

Joe (Microsoft MVP - XML)

ojaynet April 8th, 2005 04:13 PM

hi joefawcett ..
                thaks 4 that.i checked the links..its good but i know that im not getting a result can u rovide me a samle code..it would be greatly usefull.thank u
jay


All times are GMT -4. The time now is 04:10 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.