image\cslogo3d1.gif

Creating the Basic ASP Application

Chili!Soft ASP combines ASP technology with server-side object-oriented components to provide an integrated Web development environment. A Chili!Soft ASP application consists of the following elements:

·              ASP files, or pages, which are plain text files having an .asp extension. ASP pages comprise a combination of standard HTML and scripting—written in either JScript or Visual Basic Scripting Edition (VBScript)

·              Optional components written in any language

·              An optional global.asa file that contains global application information and session information for individual users

Web servers normally send HTML files directly to the client's Web browser in response to HTTP requests. When a browser requests an ASP page, the Web server calls the Chili!Soft ASP Server to read through the file. The ASP Server executes the server-side scripts scripts and commands in the page, executes any components called by the scripts, and then sends the resulting HTML page to the browser.

This section discusses the following steps that you can take in order to create a basic ASP application:

·              Choosing an Authoring Tool

·              Creating an ASP Page

·              Adding Scripts

·              Changing the Scripting Language

·              Using Server-side Includes

·              Defining the ASP Application

·              Using the global.asa File

When you are ready to publish your application, be sure to read "Publishing a Chili!Soft ASP Application" in this chapter.

Once you have mastered the basics in this section you might also want to read the following advanced topics:

·              Using Chili!Soft ASP Built-in Objects

·              Using Chili!Soft ASP Installed Components

·              Using Java Objects and Classes

·              Connecting to a Database

·              Developing International Applications

Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.