Viewing the Contents of a WAR File

See Also

Use the WAR Contents window to see what the the contents of a WAR package would be for a war module that is exported from the IDE. You can also use the WAR Contents window to see the contents of an existing WAR file.

By default, the list is sorted alphabetically by path name. You can sort the list alphabetically for another column by clicking the header for that column.

tip  When you use the Mount Filesystem wizard to mount a WAR file as an archive file type, you can view the mounted WAR file's contents by expanding its nodes and subnodes in the Filesystems window. You can also open the contents of the files in the Source Editor, but you cannot edit the contents.

To see what the contents of a WAR file would be for a web module:

  1. In the Filesystems window, right-click the WEB-INF node.
  2. From the contextual menu, choose View WAR Content.
    The files that are included in a web module's WAR package are determined by the properties in the Archive section of the WEB-INF property sheet.

To view the contents of a WAR file within a mounted filesystem:

  1. In the Filesystems window, expand the node for the directory that contains the WAR file and right-click the WAR file's node.
  2. Drill down the archive tree by expanding the subnodes. You can view the file contents in the Source Editor, but you cannot edit the contents.
See Also

Creating WAR Files
WAR File Node
Editing Web Module Archive Properties
Unpacking and Mounting WAR Files


Legal Notices