开发学院WEB开发ASP Response对象5 阅读

Response对象5

 2000-08-28 09:47:46 来源:WEB开发网   
核心提示:Response对象常与其它的代码混合使用,下面这段代码演示了response.write与其它代码混用的例 子,Response对象5,<html><head><title>res5.asp</title></head><body bgcolor=&q
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 browser

response.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>


Tags:Response 对象

编辑录入:爽爽 [复制链接] [打 印]
[]
  • 好
  • 好的评价 如果觉得好,就请您
      0%(0)
  • 差
  • 差的评价 如果觉得差,就请您
      0%(0)
赞助商链接