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>