Skip Headers
Oracle® Application Server Standard Edition One Quick Tour
10g Release 2 (10.1.2)
Part No. B15924-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents

Previous
Previous
Next
Next
 

Deploying Static and Dynamic HTML Pages

Static HTML pages contain consistent content. Dynamic HTML pages contain content that is updated or changed automatically, such as a PHP page. The following figure shows the code for a simple HTML page.

HTML code example
Description of the illustration static.gif

If the page is not the home page for Oracle Application Server, then the URL would include the hostname, port, directory and page name. The directory for the page should be located in the ORACLE_HOME/infra/Apache/Apache/htdocs directory. The following is the format for the URL:

hostname:port/directory/filename

In the preceding URL, hostname is the name of the application server, and the port is the port number for the server.

For example, a new set of pages and a directory have been created for an upcoming launch of a new product. The main page for the event is named newgizmo.html. The directory is named newWeb, and contains all the pages for the Web event. The newWeb directory is located in the ORACLE_HOME/infra/Apache/Apache/htdocs directory. The URL for the main page would be the following:

http://hostname:port/newWeb/newgizmo.html

See Also:

For more information about deployment, refer to Oracle Application Server Containers for J2EE User's Guide

Changing the Home Page

A home page is the first page that users see when they arrive at a Web site. When Oracle Application Server Standard Edition One is installed, the Welcome page is the default home page.

The following procedure describes how to deploy a new home page for Oracle Application Server Standard Edition One:

  1. Create the new home page. The home page must be named index.html.

  2. Save the new home page in a directory. It is recommended that you save the new home page in a different directory than the htdocs directory.

  3. Select Programs from the Start menu on the taskbar.

  4. Select the Oracle Application Server instance name.

  5. Select Go To.

  6. Select Application Server Control Console. The Application Server Control Console farm page will be displayed in your browser.

  7. Select the infrastructure instance. You will be prompted to log in.

  8. Click HTTP Server.

  9. Click Administration.

  10. Click Properties.

  11. Enter the directory for your home page in the Document Root field.

  12. (Optional) Enter the administrator's e-mail address in the Administrator's E-mail field.

  13. Click Apply to apply the changes.


Show Me:

A demonstration of setting the home page is available at

examples/homepage/homepage.html