例一: ASP示例 hello,world! response.write("欢迎你!") 结果:欢迎你! hello,world! 二: ASP示例 hello,world! <scr

luxuinstan luxuinstan 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
例一:
<html>
<head>
<title>ASP示例</title>
</head>
<body>

hello,world!

<script language="jScript" RUNAT="server">
response.write("欢迎你!")
</script>

</body>
</html>
结果:欢迎你! hello,world!

二:
<html>
<head>
<title>ASP示例</title>
</head>
<body>

hello,world!

<script language="vbScript" RUNAT="server">
response.write("欢迎你!")
</script>

</body>
</html>
结果:hello,world! 欢迎你!

三:
<%@ LANGUAGE=Jscript %>
<html>
<head>
<title>ASP示例</title>
</head>
<body>

hello,world!

<script language="vbScript" RUNAT="server">
response.write("欢迎你!")
</script>

</body>
</html>
结果:欢迎你! hello,world!

四:
<%@ LANGUAGE=Jscript %>
<html>
<head>
<title>ASP示例</title>
</head>
<body>

hello,world!

<script language="JScript" RUNAT="server">
response.write("欢迎你!")
</script>

</body>
</html>
结果:报错,说response没有定义。。。但JScript应该能识别response啊。。

asp好象没有规律啊:-0
...全文
评论 5
收藏 已收藏
分享
返回顶部
luxuinstan
ASP 28,401 成员 356,940 内容