Response对象5
浏览:44日期:2022-12-09
Response对象常与其它的代码混合使用。下面这段代码演示了response.write与其它代码混用的例 子。<html><head><title>res5.asp</title></head><body bgcolor="#FFFFFF"><%' The response object can be used to write text ' but sometimes some functions must be used to transform' the text instead of sending as is to the browserresponse.write "<B>Hyperion</b> by <I>Dan Simmons</i> is a great novel"response.write "<p>"response.write server.htmlencode("<B>Hyperion</b> by <I>Dan Simmons</i> is a great novel")response.write "<p>"response.write "Joe Smith & Hilda = a team"response.write "<p>"response.write server.URLencode("Joe Smith & Hilda = a team")%></body></html>
上一条:Response对象4下一条:ASP中FSO的神奇功能 - 简介
相关文章: