ASP @ Directives
You can use @ processing directives in your scripts to send information to IIS about how to process an .asp file.
For example, the following script uses the @LANGUAGE processing directive to set the scripting language to Microsoft Visual Basic ® Scripting Edition (VBScript).
VBScript<%@ Language= "VBScript" CODEPAGE=65001%> <% Dim myvar myvar = "This is my var" Response.Write(myvar) %>
The following five @ processing directives are supported by ASP.
必备条件
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS