To specify the default settings for all Web projects, select
You can change the default preference so that link paths are relative to the linked document's root directory. The document root directory (or context root) is the top-level directory of the Web site when it is deployed to a server.
You can also turn off either or both of these preferences.
You can change the default so that instead of having the files copied locally when you save your project, a broken links dialog is displayed.
You can turn off either or both of these preferences.
Important: Files must be in the WebContent folder for link validation to work correctly; links between files that are not in the WebContent folder will be deemed external or broken.
Broken links
are displayed in the Problems list and are indicated by the icon in the first column.
When you select a preference that automatically copies files to your directory or displays the Broken links dialog, files that cannot contain links are copied or listed in the Broken links dialog. (One exception is CSS files, which can contain links to HTML and JSP files.)
HTML and JSP files are not automatically copied because they are likely to contain links to other external files. Copying them to a local directory likely would create more broken links.
If you need to link to other HTML files or JSP file outside of your project, you can reference them by mapping a drive to the system and directory where they are stored. Then set your Default Link Path preference to Relative to the Document Root Directory. This way you can reference files that are already on your Web server without having the files locally.
Related concepts
Links view
Related tasks
Refreshing the Links view
Fixing broken links using the Fixup link references wizard
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.