General Properties
In the General Properties dialog box of the Web Component
Wizard you can select a WAR file to contain your web component and
enter the general settings for the WAR file.
Securing the WAR File
To obtain a WAR file for your web component, do one of the following:
-
If you do not already have a WAR file in which to package the
web component:
-
Select Create New WAR File in Application radio button in the WAR
File Location pane.
-
Select the application that will contain the WAR file from the
drop-down menu.
- Enter a display name for the WAR file in the WAR Display Name
field. This name will be displayed in the deploytool's tree.
- If you have a WAR file in which to package the web component:
- Select Add to Existing WAR File radio button from the WAR File
Location pane.
-
Choose the WAR file from drop-down menu.
Adding Content to the WAR File
To add files or components to your WAR file do the following:
-
Click Add and go to
the Edit Contents dialog. After adding a file or component,
it will be listed in the Contents field. Note: You must enter all of the
classes and content files required by your web component.
-
You can Click Description to enter a description of your WAR file.
-
Click Advanced Settings to go to the Advanced Settings dialog to
define the WAR file's advanced settings: An example is the MIME
mapping to be used.
-
Click Icons to go to the Icons dialog to select the icon that
GUI tools will use to represent your WAR file. You can
select only GIF or JPEG files that are either 16x16 or 32x32.
Deleting Content From the WAR File
To delete a file from the WAR file, select the file from the Contents
field and click Remove. A confirmation dialog box will ask you if you are
sure you want to Delete the file.
Copyright 1999-2001 Sun
Microsystems,
Inc. All Rights Reserved.