PLEASE SHOW ME THE STEPS TO RUN THIS CODE ON VISUAL STUDIO 2003?

Hi All,

           Just started learning XMLHTTP. I am trying to run the example code below on an ASP page on IIS server to retrieve a code behind the sourceforge.net recommended reading page. Will someone show me the steps involved in running this code using VISUAL STUDIO 2003 Thanks

<html>
<head>
<title> XMLHTTP Example </title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<%
dim objXMLHTTP
set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")

objXMLHTTP.Open "GET", "http://junit.sourceforge.net/", false
objXMLHTTP.SetRequestHeader "Content-type", "text/html"
objXMLHTTP.Send

%>
<xmp>
<%=objXMLHTTP.ResponseText%>
</xmp>
</body>
</html>

Thanks for your reply!

 



Answer this question

PLEASE SHOW ME THE STEPS TO RUN THIS CODE ON VISUAL STUDIO 2003?

  • Philip73

    Install IIS

    Get the web folder

    Copy/paste this code in a file.asp

    Execute this file from localhost



  • Crean

    Hi All,

               Thanks guys!. I fixed it myself. I am now an xml guru


  • PLEASE SHOW ME THE STEPS TO RUN THIS CODE ON VISUAL STUDIO 2003?