RE: [xsl] xmlhttp.send problem

Subject: RE: [xsl] xmlhttp.send problem
From: "Hellstern, Manny" <manny.hellstern@xxxxxxxxxxxxxx>
Date: Mon, 14 Jan 2002 16:09:26 -0600
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: [xsl] 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


Current Thread