Product Home Page | Developer Site | Version | |
Sun ONE Active Server Pages includes the concept of an ASP application, which comprises a hierarchical set of directories that contain the ASP pages and other files used by the application. The root directory of an ASP application contains an optional global.asa file, which stores application state information along with application and session information. Using the Application and Session objects with the global.asa file is explained in Using the Global.asa File. For information about accessing sample applications, which demonstrate the basics of building Sun ONE ASP applications, see Developer Web Site.
For an ASP application to be processed, it must be defined on the ASP Server. There are several ways to define an application:
Add the application from the Administration Console, as described in Adding ASP Applications.
Enable ASP processing for a virtual host (referred to as virtual servers on Sun ONE Web Server), as described in Enabling ASP for a Virtual Host and Defining Applications in a Shared Environment.
Use the FrontPage Services file, as described in Using the FrontPage Services File.
Add an application from within the Sun ONE ASP configuration file, or add an alias from within the Web server configuration files. These are advanced administration options for expert users, and are described in Defining Applications on UNIX.
Note | On Windows NT and Windows 2000, ASP applications are defined by adding aliases or virtual directories to the Web server. Sun ONE ASP treats each alias or virtual directory as an ASP application. With Sun ONE Web Server, ASP applications are defined by adding an "additional document directory" using the Web server’s Administration tool. With Apache Web Server, ASP applications are defined by adding an alias to the httpd.conf file. |
In this section:
Editing ASP Application Settings
Enabling ASP for a Virtual Host
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.