在ASP中一般使用response.write 命令用来向浏览器写输出。下面的例子向浏览器输出一段文本:"Hello World"。
<html>
<body>
<%
response.write("Hello World!")
%>
</body>
</html>
另外,还可以使用一种更简单的 response.write 命令的简写方法。下面的例子和上面的例子是等效的:
<html>
<body>
<%="Hello World!"%>
</body>
</html>
新闻热点
疑难解答