ONE Active Server Pages Product Home Page Developer Site Version


Defining ASP Applications (ASP Server)

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:

Note icon 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:

Configuring ASP Applications

Adding ASP Applications

Removing ASP Applications

Editing ASP Application Settings

Enabling ASP for a Virtual Host