Welcome Files Property Editor

Tip Note that this feature might not be included in your version of the IDE. If it is not available, you can edit the deployment descriptor (web.xml) file using the editor of your choice. For more information, see Java Servlet 2.3 Specification available at http://java.sun.com/products/servlet .

The Welcome Files property editor provides a way to add, edit, or remove welcome files for the web module. The information provided in this property editor corresponds to <welcome-file-list> entry in deployment descriptor.

To display the Welcome Files property editor:

  1. Click the Deployment pane of the web.xml property sheet.
  2. Click the Welcome Files value field, and click the ellipsis button. The Welcome Files property editor appears.

To add a welcome page for the web module:

  • Type the name of the welcome page in the Item text field of the dialog box, and click the Add button.The name of the welcome page appears at the end of the list of welcome files.
  • To edit a welcome page:

    1. Select the desired welcome page from the current list. Edit the value in the Item text field.
    2. Click the Change button. The selected item reflects the new value in the Item text field.
    3. The first item in the list is the page that is loaded if the page is found. The other items are alternates if the ones before are not found.

    To change the order of welcome pages in the list:

    1. Select the desired welcome page from the current list.
    2. Click the Move Up button to move the selected item up the list, or click the Move Down button to move the selected item down the list.

    To remove a welcome page:

    1. Select the desired welcome page from the current list.
    2. Click the Remove button. The specified welcome page is deleted from the list of those welcome pages set for the web module.
    See also
    Editing Web Module Deployment Properties

    Legal Notices