[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] xmlhttp.send problem
Subject: Re: [xsl] xmlhttp.send problem From: Eric Vitiello <xsl-list@xxxxxxxxxxxx> Date: Mon, 14 Jan 2002 14:59:21 -0500 |
-- 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xmlhttp.send problem, Hellstern, Manny | Thread | RE: [xsl] xmlhttp.send problem, Hellstern, Manny |
[xsl] xmlhttp.send problem, Hellstern, Manny | Date | Re: [xsl] Merging multiple document, Paul Sprakes |
Month |
Keywords