George1111 Posted March 12, 2006 Share Posted March 12, 2006 I have followed a tutorial example 1) I opened up NOTEPAD.exe2) I pasted the following code into the notepad document3) I saved it as Hello.htmTHIS IS THE CODE WHICH DISPLAYS NOTHING<html><body><%response.write("Hello World!")%></body></html>When I execute the open command I get NOTHING on the screenIs this code incorrect (it came from the tutorial web site)Why is this so difficult ??? Link to comment Share on other sites More sharing options...
sbrownii Posted March 12, 2006 Share Posted March 12, 2006 That page has to be accessed from a server.Did you access it on a server? or just open it?Maybe you should look at the name of the tutorial.... Link to comment Share on other sites More sharing options...
Verminox Posted March 12, 2006 Share Posted March 12, 2006 Hello.htm ?I don't really think this is an HTML file. Its more like ASP ?You might be reading the wrong tutorial Link to comment Share on other sites More sharing options...
George1111 Posted March 12, 2006 Author Share Posted March 12, 2006 Hello.htm ?I don't really think this is an HTML file. Its more like ASP ?You might be reading the wrong tutorial <{POST_SNAPBACK}> Thats it - it was an ASP tutorialHow can I run this ASP script from my local machine ?(I call it .htm because it looked like html to me)Should it be called something like .aspie, how can I test that the tutorial actually works ?Thanks for the answer Link to comment Share on other sites More sharing options...
boen_robot Posted March 12, 2006 Share Posted March 12, 2006 You need to install ASP, rename your file to .asp and place it at the appropriate IIS's folder. Then open your browser and type the appropriate URL into the adress bar. Link to comment Share on other sites More sharing options...
miteshbhimjiyaani Posted March 13, 2006 Share Posted March 13, 2006 I have followed a tutorial example 1) I opened up NOTEPAD.exe2) I pasted the following code into the notepad document3) I saved it as Hello.htmTHIS IS THE CODE WHICH DISPLAYS NOTHING<html><body><%response.write("Hello World!")%></body></html>When I execute the open command I get NOTHING on the screenIs this code incorrect (it came from the tutorial web site)Why is this so difficult ???<{POST_SNAPBACK}> hi ,the above code is won;t working. if u wana display only hello world then use below code<html><head><script>document.write("Hello World!")</script></head><body></body></html>Reason : y ur code is not working bz it is html file not jsp or asp. that will work on server side.Thanks Link to comment Share on other sites More sharing options...
George1111 Posted March 13, 2006 Author Share Posted March 13, 2006 You need to install ASP, rename your file to .asp and place it at the appropriate IIS's folder. Then open your browser and type the appropriate URL into the adress bar.<{POST_SNAPBACK}> Thanks a million - I knew it could be done !I really appreciate your help Boen - cheers!Thanks to all other replies also Link to comment Share on other sites More sharing options...
zachary Posted March 13, 2006 Share Posted March 13, 2006 i just cop&paste into the editortry my technique Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now