I'm asp newbie and trying to run this simple asp script from here: http://www.w3schools.com/asp/asp_inputforms.asp
This is my form.html file:
<html>
<body>
<form method="get" action="form2.asp">
First Name: <input type="text" name="fname" /><br />
Last Name: <input type="text" name="lname" /><br /><br />
<input type="submit" value="Submit" />
</form>
</body>
</html>
This is form2.asp file:
<html>
<body>
Welcome
<%
response.write(request.querystring("fname"))
response.write(" " & request.querystring("lname"))
%>
</body>
</html>
I launch form.html file from inetpub/wwwroot folder, enter name and last name and get in browser:
Welcome <% response.write(request.querystring("fname")) response.write(" " & request.querystring("lname")) %>
Localhost is open for me. What am I doing wrong?