hi all experts,
am complete newbie to ASP have just installed PWS and trying to run my first sample ASP code. but the moment it accesses the page it prompts for downloading the file. So i tried using "localhost\filename.asp" now it says page not found.
When i just type " the default.asp page is properly displayed.
Both the files are in c:\inetpub\ have also uninstalled the Frontpage server extentions.
Please Help..........
The Code ->
'--------- File firstasp.html-------
<html>
<head>
<title>My first ASP</title>
</head>
<body>
<form method="POST" action="localhost\nextpage.asp">
<BR> UserName: <input name="username" type="text" size="30">
<BR> <input type="submit" value="GO!">
</form>
</body>
</html>
'----------- File nextpage.asp --------
<html>
<head><title>Next Page</title>
<Body>
<%
Username = Request.Form("username"
%>
Your Username is <%=username%> !
</body>
</html>
Regards
Niraj![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)
am complete newbie to ASP have just installed PWS and trying to run my first sample ASP code. but the moment it accesses the page it prompts for downloading the file. So i tried using "localhost\filename.asp" now it says page not found.
When i just type " the default.asp page is properly displayed.
Both the files are in c:\inetpub\ have also uninstalled the Frontpage server extentions.
Please Help..........
The Code ->
'--------- File firstasp.html-------
<html>
<head>
<title>My first ASP</title>
</head>
<body>
<form method="POST" action="localhost\nextpage.asp">
<BR> UserName: <input name="username" type="text" size="30">
<BR> <input type="submit" value="GO!">
</form>
</body>
</html>
'----------- File nextpage.asp --------
<html>
<head><title>Next Page</title>
<Body>
<%
Username = Request.Form("username"
%>
Your Username is <%=username%> !
</body>
</html>
Regards
Niraj
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)