[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xmlhttp.send problem
Eric: That worked in that I no longer get the content of my asp page spewed back at me but the web server isn't processing the request so I have bigger problems than I thought. Thanks again. -----Original Message----- From: Eric Vitiello [mailto:xsl-list@xxxxxxxxxxxx] Sent: Monday, January 14, 2002 1:59 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: xmlhttp.send problem -- Hellstern, Manny [Mon, 14 Jan 2002 13:37:11 -0600]: >I saw mention of xmlhttp in the archive so I thought it was OK to >post my question. > >I have an application that passes an XML file back to my web server >where it is converted to a csv file among other things. ?The code I'm using >is: > >var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); >xmlHttp.open("POST", "SubmitApp.asp", false); >xmlHttp.send(objXML); >alert(xmlHttp.responseText); > >When xmlHttp.send(objXML) executes, I get a message box that simply >shows me the script listing of "SubmitApp.asp". ?I have checked the content of >"objXML" and it looks fine. > >Any ideas? ?This is happening on a develpment computer running NT >and PWS. I have installed MSXML3SP2 and it is running in replace mode. I would suggest trying to request the same file from a browser. now that I think about it, you might want to put the full URL in the request, rather than simply the filename... if the script with the code above and the sumbitapp.asp are in the same directory, it is probably just loading it from disk, rather than requesting it from the server. putting in the full URL shoud fix that, i.e. "http://127.0.0.1/SubmitApp.asp" --- Eric Vitiello Perceive Designs <www.perceive.net> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|