The correct directory structure for a Web-deployment using a WAR file is shown below:

At the top of the tree is the webapps directory. Under the webapps directory, a user can make a directory with any name. Here, the directory has been named userapps. The userapps directory contains two sub-directories, namely the META-INF directory and the WEB-INF directory. WEB-INF is a private directory consisting of dynamic resources such as Servlet class files. It consists of resources that are not available for download publicly. The deployment descriptor web.xml file resides within the WEB-INF directory. This directory also has a lib directory that contains the JAR files. A META-INF directory can be placed in the userapps directory or directly within the lib/JAR directory. The META-INF directory contains the manifest files. Along with this, if there is any tld file, it will be stored within the lib/JAR/META-INF directory or its sub-directory.
Click here to get free CX310-081 SCWCD Java 1.4 exam practice questions. Click here to get free CX310-083 SCWCD Java 5 exam practice questions.If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
