File References

In the File References dialog box, you can provide a list of , map JSP Tag Library references to in the WAR file, and map errors to URLs for resources to be called to process the error.

List Welcome Files

To add welcome files to the list:

  1. Click Add.
  2. Enter the names of the welcome files into the Welcome files table in the order that you want them to be accessed.

To delete a file from the list, select the row containing the file and click Delete. A confirmation dialog will ask you if you really want to delete the file from the list.

Map JSP Tag Libraries

In the JSP Tag Libraries section, list the tag library references in the code of components in the WAR and the locations of the corresponding (TLDs).

  1. Click Add to enter a tag library reference to the JSP Tag Libraries table.
  2. Enter the URI describing the tag library in the Coded Reference column. For example, if your tag library directive is <%@ taglib uri="/myPRlibrary" prefix="x" %>, enter /myPRlibrary in the Coded Reference column.
  3. Enter the location of the TLD that specifies the tag library in the Tag Library column. For example, if the TLD for myPRlibrary is called PRlibrary_1_4.tld and is located int the tlds directory, enter /WEB-INF/tlds/PRlibrary_1_4.tld.

To delete a tag library from the list, select the tag library and click Delete. A confirmation dialog will ask you if you really want to delete the tag library from the list.

Map Errors to URLs

In the Error mapping section of the File References dialog box, you can indicate the URL that must be accessed when a particular error occurs. For example, you could enter `404' in the Error/exception column and `404.html' in the URL column to indicate that the 404.html file should be opened when the 404 error occurs.

  1. Click Add to add a mapping to the table.
  2. Enter the name of an error in the Error/exception column.
  3. In the URL column, enter the URL that you would like to be accessed if the error occurs.

To delete a mapping from the list, select the row containing the mapping and click Delete. A confirmation dialog will ask you if you really want to delete the mapping from the list.



Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.