The IDE requires that the web module directory structure conforms to the structured directory format for the web archive (WAR) format. If the web module conforms to this format, use the following steps to import the web module into the IDE. Otherwise, follow the steps for changing the directory structure into a web module directory structure, as shown later in this topic.
![]() |
The web module must be mounted at its root (document
base) directory. If mounted correctly, the WEB-INF directory
will display the ![]() |
To load a web module directory:
Use the following steps if the development directory structure for your web module does not conform to the WAR directory structure.
To change a directory into a web module:
Note that the directory has not actually moved, but is now recognized by the IDE as a web module directory. When a web module containing .jar files in its WEB-INF/lib directory is mounted, the .jar files in the lib directory are mounted as well, unless they were developed in the IDE and the development directory is already mounted.
You can now view the web module in both the Filesystems window and the Project window.
See Also | |
---|---|
About Running Web Modules Unpacking and Mounting WAR Files Where to Put Web Module Files Using CVS With Web Modules About Running Web Modules Changing Web Modules Into Standard Directories |