[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xmlhttp.send problem

Subject: Re: xmlhttp.send problem
From: Eric Vitiello <xsl-list@xxxxxxxxxxxx>
Date: Mon, 14 Jan 2002 14:59:21 -0500
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.