Adding an existing page to a Web site

Show Me

You can add a Web page that already exists to a Web site by adding it to the navigation of the site in Web Site Navigation.

  1. Create a Web project.

  2. Create Web pages.

Note: If you enable Web Site Navigation support for an existing Web project, you can add existing pages to the new Web Site Navigation to populate the project's Navigation view.

To add an existing page to a Web site:

  1. In the Enterprise Explorer view of the Web perspective, expand your Web site and double-click

    Web Site Navigation.

  2. In the Navigation page of Web Site Navigation, decide where the Web page you are adding fits in the Web site's organization.

  3. Right-click where you want to attach the new page, either on a page icon or anywhere in the Navigation page and select

    Add | Existing Pages. The Add Existing Pages wizard opens.

  4. If you did not select a page icon before invoking the pop-up menu, select a top page before you can add pages.

    1. In the

      Top page field of the Select a Top Page page of the wizard, select the top page for the page that you are adding.

    2. If the selected page contains links to other Web pages, use the Add linked pages option to add those pages as well. Web Site Navigation will follow the links that already exist to add pages up to the link depth specified. For example, if you set a depth limit of 3, all pages within 3 links of the top page will be included. Setting the link depth at No limit ensures that all of the linked pages are added.

      A thumbnail of the current selection is displayed, as well as the page's title, navigation label, file name, and location.

  5. If you selected a page icon before invoking the pop-up menu, the Add Existing Pages wizard opens and the Add Existing Pages to Web Site page displays.

  6. Select as many other existing Web pages as you want to add by using the Add Other Pages button to select files. If the selected Web page contains links to other Web pages, use the Add Linked Pages option to add those pages as well.

  7. Click Finish to add the existing page to the Web site.

Web Site Navigation automatically adds the page icons to the site structure in the Navigation view according to the hierarchy defined by the existing pages' links. You can now manipulate the structure and relationships of the pages.

 

Related concepts

Web site navigation

 

Related tasks

Creating a Web site structure

Adding a new page to a Web site

Adding an external page to a Web site

Adding an existing Faces JSP page to a Web site

Associating a Web page with a page icon

Adding frame pages to a Web site