asp可以嵌入多种语言

第一:

Using VBScript in ASP

You can use several scripting languages in ASP. However, the default scripting language is VBScript:

You can use several scripting languages in ASP. However, the default scripting language is VBScript:

第二 Using JavaScript in ASP

To set JavaScript as the default scripting language for a particular page you must insert a language specification at the top of the page:

第三

Other Scripting Languages

ASP is shipped with VBScript and JScript (Microsoft’s implementation of JavaScript). If you want to script in another language, like PERL, REXX, or Python, you will have to install script engines for them.


 

<%@ language="javascript"%>
<html>
<body>
<%
Response.Write("Hello World!")
%>
</body>
</html>
Advertisements
此条目发表在未分类分类目录。将固定链接加入收藏夹。

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s