|
 |
pro_jsp thread: Java Equivalent of XMLHTTPRequest Object?
Message #1 by SBonham@S... on Wed, 14 Feb 2001 10:46:15 -0500
|
|
Hi,
I'll have to start by stating that I'm a complete newbie here, so please
forgive my ignorance.
Basically, my company has asked me to convert some web pages that use
Microsoft's ASP technology to work under JSP. Here is the code I need to
convert:
Dim xmlHTTP
Set xmlHTTP = server.CreateObject("Microsoft.XMLHTTP")
xmlHTTP.Open "POST" "HTTP://some_server/cCustomer.asp", false
xmlText = "<Request><first_name>" & first_name &
"</first_name><last_name>" & last_name & "</last_name></Request>"
xmlHTTP.Send xmlText
resp = xmlHTTP.responseText
Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.async = false
objXML.loadXML(resp)
etc etc.
cCustomer.asp is a "robot" ASP page will lives on an NT-based IIS webserver
(this will stay) whose job is to send a response in XML format to the POST
from the JSP page. I just do not know where to start! We have the Apache
webserver running under IBM AIX, which is where the JSP pages will run. I
would be most grateful if someone could help me out by:
* stating what add-on software I'm going to need to install with the
Apache webserver (Tomcat? Xerces?)
* helping me out with converting the code fragment above
* giving me any other pointers/starting points to help me
Thanks in advance,
Stuart N. Bonham - stssystems (europe)
Product Integration Manager
Email: sbonham@s...
DDI : +44 (0) xxx xxx xxxx
Fax : +44 (0) xxx xxx xxxx
Web: : http://www.nsb.co.uk
|
|
 |