Mounting an Existing Web Module

See Also

You can mount a web module created outside the IDE and operate on it as you do other web modules.

To be mounted in the IDE, a web module must conform to the structured directory format or the web archive format, called WAR, as described in the Java Servlet 2.3 specification.

The web module must be mounted at its root directory. If mounted correctly, the WEB-INF directory will display the web module icon. If mounted incorrectly, the web module will not execute.

To load an existing web module directory:

  1. From the main menu bar, choose File and choose Mount Filesystem.
  2. In the Mount Filesystem dialog box, choose Mount Local Directory, and click Browse. Note that you could also choose to mount a CVS filesystem that contains a web module.
  3. Navigate to the location of the web module directory and select it. Click OK. You are returned to the initial Mount Filesystem dialog box where the Directory field now indicates your selected filesystem.
  4. If the Directory field in the Mount Filesystem dialog box reflects the correct web module directory, click OK to mount the directory. Otherwise, click Browse to repeat the selection process.

You can now work with the loaded web module directory and operate on it using the IDE tools.

See Also
Executing Web Modules
Unpacking and Mounting a WAR File

Legal Notices