• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XML Challenge...... (Microsft + JAVA)

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where you able to figure this out? I have the same problem and was wondering if you have a solution?
Thanks and regards,
Sumanth
 
reply
    Bookmark Topic Watch Topic
  • New Topic