The following illustration depicts the placement of files within the required web module hierarchy. This view is reflected in the Filesystems window. Note that the web module root (document base) directory corresponds to the filesystem root.
The illustration shows the JSP files in both the root directory and the WEB-INF directory. Note that users cannot directly access JSP files that are under the WEB-INF directory. These JSP files can be accessed only by another JSP file or by a servlet, such as by a forwarding request.
TLD files are typically packaged in the tag library's JAR file. If not, place the TLD file in the WEB-INF directory or subdirectory.
![]() |
Note that Tomcat does not support .zip files in the WEB-INF/lib directory. |
![]() |