Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



@LANGUAGE Directive


By default, the primary scripting language for Sun ONE ASP is Sun ONE ASP VBScript, but this can be changed to Sun ONE ASP JavaScript for each ASP page by using the @LANGUAGE directive at the beginning of the ASP file.

The syntax for this directive is as follows:

<%@ LANGUAGE=scriptengine %>

The parameters are as follows:

scriptengine

The script engine that should process the script (VBScript or JavaScript).

See also:

Scripting Languages Reference



ContentsPreviousNextIndex