Specify the General Settings of the .war File

In the WAR File 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.
  1. If you do not already have a .war file in which to package the web component, select the application that will contain the .war file from the menu labelled 'Web Component will Go In'. Otherwise, select an existing .war file from this menu.
  2. Enter a name to represent your .war file in the WAR Display Name field. This name will be displayed in the tree.
  3. To add files or components to your .war file, click Add. After adding a file or component, it will be listed in the Contents field. At this point, you must enter all of the class and content files that your web component requires.
  4. Enter a description of your .war in the Description field.
  5. Select Distributable if your web application requires a distributed environment to function.
  6. Enter a default in minutes for all sessions in the web application.
  7. Click Mime Mapping to enter the mappings of extensions to MIME types.
  8. Click the button labelled "..." to choose the icons that GUI tools will use to represent your .war file. You can select only GIF or JPEG files that are either 16x16 or 32x32.
To delete a file from the .war, 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, 2000 Sun Microsystems, Inc. All Rights Reserved.