how to execute asp code in html

Solutions on MaxInterview for how to execute asp code in html by the best coders in the world

showing results for - "how to execute asp code in html"
Antonio
21 Oct 2016
1<handlers>
2            <remove name="ASPClassic" />
3            <add name="take html as classic asp" path="*.html" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="C:\Windows\System32\inetsrv\asp.dll" resourceType="File" preCondition="" />
4            <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" />
5        </handlers>
Trevon
31 Jul 2017
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" >
3<head>
4  <title>BotDetect CAPTCHA ASP Form Sample</title>
5</head>
6<body>
7  <form method="post" action="ProcessForm.asp" id="form1">
8
9    <h1>BotDetect CAPTCHA ASP Form Sample</h1>
10<%
11 response.write("My first ASP script!")
12 %>
13<p><%Response.Write(now())%></p> 
14		<h2>Add Message
15	This page was last refreshed on <%= now() %>, <br>
16  </form>
17</body>