Active Server Pages

Active Server Pages (ASP) is a server-side scripting technology that can be used to create dynamic and interactive Web applications. An ASP page is an HTML page that contains server-side scripts that are processed by the Web server before being sent to the user's browser. You can combine ASP with Extensible Markup Language (XML), Component Object Model (COM), and Hypertext Markup Language (HTML) to create powerful interactive Web sites. Server-side scripts run when a browser requests an .asp file from the Web server. ASP is called by the Web server, which processes the requested file from top to bottom and executes any script commands. It then formats a standard Web page and sends it to the browser.

It is possible to extend your ASP scripts using COM components and XML. COM extends your scripting capabilities by providing a compact, reusable, and secure means of gaining access to information. You can call components from any script or programming language that supports Automation. XML is a meta-markup language that provides a format to describe structured data by using a set of tags.

To create an ASP page, use a text editor to insert script commands into an HTML page. Saving the page with an .asp file name extension tells the Web server how to process the script commands. To view the results of a script, request the page using a Web browser. VBScript is the default scripting language for ASP.

Basic ASP Syntax:
An ASP file normally contains HTML tags, just as a standard HTML file. In addition, an ASP file can contain server scripts, surrounded by the delimiters <% and %>. Server scripts are executed on the server, and can contain any expressions, statements, procedures, or operators that are valid for the scripting language you use.

The Response Object :
The Write method of the ASP Response Object is used to send content to the browser. For example, the following statement sends the text "Welcome to ASP" to the browser: Response.Write("Welcome to ASP").

response.write("Welcome to ASP")

ASP comes with VBScript and JavaScript. If you want to script in another language, like PERL you have to install scripting engines for them.

A         B         C         D         E         F         G        

H         I         J         K         L         M         N        

O         P         Q         R         S         T         U        

V         W         X         Y         Z

Home   |   Business Directory   |   Festivals & Fairs (USA)