关键词:asp读html,asp读html内容,asp获取html内容,asp如何读取html ,asp查看html页面代码,asp读html页面代码,asp读取html内容



<%

set fso=server.createobject("scripting.filesystemobject") '建立组件

set file=fso.opentextfile(server.mappath("index.html"),1,true)'

filestr=file.readall

response.Write filestr

%>



当你会了asp读取html后,你就可以做html模板,然后对应的替换再转换保存为静态网页了。