This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi guys! here is a new challenge for all of u .... I m developing one application wherein i have to send information from vb client application using XML to the jsp page on the server side so that jsp can easily parse that xml and dump it into the database. i have tried it using vb client application and asp as follows : Client side code which i m using in vb application is : Dim xmlhttp As MSXML2.xmlhttp Dim xmldom Set xmlhttp = CreateObject("Microsoft.XMLHTTP") xmlhttp.open "GET", "http://neco/TestXML/Getresp.asp", False Dim xmltext As String xmltext = "<magazine>MIND</magazine>" 'For example Set xmldom = CreateObject("Microsoft.XMLDOM") xmldom.loadXML xmltext xmlhttp.send xmltext
now if i use asp toward server side it works fine as per following code using vbscript... <% set xmldom = Server.CreateObject("Microsoft.XMLDOM") xmldom.load(Request) 'set myNode = xmldom.selectSingleNode("magazine") 'myNode.text = "MSDN Magazine" strText = "You sent me: " & xmldom.xml Response.Write strText %> i got the response in client application properly.
but i dont want to use asp in my server side application Is there any way to do the same thing in JSP. if yes then how ?? Condition : I dont want to change my client side implementation where in i m using microsoft xml parser.
Is there any other way like can i transfer an xml file using http/ftp to the server and then call one jsp page from client application which will process that xml file which is uploaded in predetermined place ?? (i would least prefer this way)
plz.. Help quickly and in detail Thx in advance Badal.