源代码
<% Set FS = Server.CreateObject("Scripting.FileSystemObject") Set RS = FS.OpenTextFile(Server.MapPath("/example/aspe") & "\textfile.txt",1) While not rs.AtEndOfStream Response.Write RS.ReadLine Response.Write("
") Wend %>
查看此文本文件
运行结果