This example, the ASP code does the following
- read static html page monitor_hosts_wis.htm
- searches for and replace with some other string
- writes output to html response
<%
response.expires=-1
Set fs = Server.CreateObject("Scripting.FileSystemObject")
Set f = fs.OpenTextFile(Server.MapPath("monitor_hosts_wis.htm"), 1)
sHtml = f.ReadAll
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' search for
' replace with
'
'
'
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
sReplace = "" & vbCrLf & _
"" & vbCrLf & _
"" & vbCrLf & _
"" & vbCrLf
sHtml = Replace(sHtml,"",sReplace)
Response.Write(sHtml)
f.Close
Set f=Nothing
Set fs=Nothing
%>