1) If xxx = "yyy" Then Server.Execute("file1.asp") Else Server.Execute("file2.asp") End If
2) If xxx = "yyy" Then Server.transfer("file1.asp") Else Server.transfer("file2.asp") End If
3) if xxx = "yyy" then filespec = "file2.asp" else filespec = "file2.asp" end if filespec = server.mapPath(filespec) scr = "scripting.fileSystemObject" set fs = server.createobject(scr) set f = fs.openTextFile(filespec) content = f.readall set f = nothing set fs = nothing response.write(content)