GoConqr has a new look! Let us know what you think.

Mind map

4.1.2 Understand the Directory Structure

Muhammad Syakir English

Map content

4.1.2 Understand the Directory Structure

  1. You develop your Web Application within a specified directory structure so that it can be archived and deployed on WebLogic Server, or another Servlet 2.2 compliant server.

  2. All servlets, classes, static files, and other resources belonging to a Web Application are organized under a directory hierarchy.

  3. The root of this hierarchy defines the document root of your Web Application.

  4. All files under this root directory can be served to the client, except for files under the special directories WEB-INF and META-INF located in the root directory. Name the root directory with the name of your Web Application. This name will be used to resolve requests for components of the Web Application.

  5. Private files should be located in the WEB-INF directory, under the root directory. All files under WEB-INF are private, and are not served to a client.

  6. WebApplicationName/

    • Place your static files, such as HTML files and JSP files in this directory (or a subdirectory). This directory is the document root of your Web Application.
  7. /WEB-INF/web.xml

    • The Web Application deployment descriptor that configures the Web Application.
  8. /WEB-INF/weblogic.xml

    • The WebLogic-specific deployment descriptor file that defines how named resources in the web.xml file are mapped to resources residing elsewhere in WebLogic Server. This file is also used to define JSP and HTTP session attributes.
  9. /WEB-INF/classes

    • Contains server-side classes such as HTTP servlets and utility classes.
  10. /WEB-INF/lib

    • Contains .jar files used by the Web Application.

Information

Description
Mind Map on 4.1.2 Understand the Directory Structure, created by Muhammad Syakir on 25/02/2019.
Created by
Muhammad Syakir
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?