欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

编写ASP服务器脚本的两种方法

程序员文章站 2022-06-19 22:25:33
编写ASP服务器脚本的两种方法...

  第一种方式:

  直接使用使用<% %>在里面编写脚本代码 例如

  <%

  response.write "经典的hello word!"

  %>

  第二种方式:

  间接使用<script></script>标记

  <script language=vbscript runat=server>

  response.write "经典的hello word!"

  </script>

  btw:编写asp的脚本语言有两种,分别是vbscript和javascript!

相关标签: asp 服务器脚本