What is the directory structure of a WAR file?

August 28th, 2008 by uCertify Leave a reply »

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.
Like this article? Share it with others
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.
  • Share/Bookmark
Advertisement

Leave a Reply

uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.