<%if request.form("cnhww")="" then%>
<%
else
conter=request.form("cnhww")
set fs=server.CreateObject("Scripting.FileSystemObject")
FilePath=server.MapPath("/index.html")
set htm=fs.opentextfile(filepath,2,true)
htm.write conter
response.Write("
查看首页")
response.write""
end if
%>
最简单的生成html 注意路径