Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems


Creating the Basic ASP Application

Sun Chili!Soft ASP combines ASP technology with server-side object-oriented components to provide an integrated Web development environment. A Sun 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 Sun Chili!Soft ASP Server to read through the file. The ASP Server executes the server-side scripts and commands in the page, executes any components called by the scripts, and sends the resulting HTML page to the browser.

This section discusses the following steps that you can take 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 Sun Chili!Soft ASP Application" in this chapter.

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

   Using Sun Chili!Soft ASP Built-in Objects

   Using Sun Chili!Soft ASP Installed Components

   Using Java Objects and Classes

   Connecting to a Database

   Developing International Applications

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