WAR File

In the WAR File properties page of the Web Component Wizard, you can choose to:

and enter the general settings for the WAR file.

Choosing the WAR File

To obtain a WAR file for your web component:

Adding Content to the WAR File

To add files or components to your WAR file do the following:

  1. Click the Edit button to open the Edit Contents dialog box. 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.
  2. You can Click Description to enter a description of your WAR file.
  3. Click Advanced Settings to go to the Advanced Settings dialog box to define the WAR file's advanced settings: An example is the MIME mapping to be used.
  4. Click Icons to go to the Icons dialog box 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.

Define the Context Root for the Web Module

In order to deploy your web module to the server, you must define the context root for the web module. The context root provides a way to distinguish resources in your web module from resources in other applications deployed to the same server instance.
Enter the context root for the web module in the Context Root field in the Sun-specific Settings pane. The context root starts with a back slash / and ends with a string.

Click the Sun-specific Settings button to enter the deployment settings for the following:

See also

Advanced Settings



Legal Notices