Friday, June 22, 2018

Steps to configure in IIS for ASP

kindly follow the below link

http://www.windows7home.net/how-to-install-iis-7-and-setup-asp-in-windows-7/

after setting this steps next have to create ASP file with the following code
 Paste the below code ans save the filename with .asp extension.


<!DOCTYPE html>
<html>
<body>

<p>ASP can output HTML attributes as well as plain text:</p>

<%
response.write("<p style='color:#0000ff'>This text is styled.</p>")
%>

</body>
</html>



Note : put this file in the  path "C:\inetpub\wwwroot"
and type the address like 'localhost/sample.asp" in the address bar. finally the asp file get executed.





No comments: