bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Administration Console Online Help

Virtual Directory Mapping --> Configuration

Tasks Additional Documentation Attributes

Overview

Use the virtual-directory-mapping element to specify document roots other than the default document root of the Web Application for certain kinds of requests, such as image requests. All images for a set of Web Applications can be stored in a single location, and need not be copied to the document root of each Web Application that uses them. For an incoming request, if a virtual directory has been specified Servlet Container will search for the requested resource first in the virtual directory and then in the Web Application's original document root. This defines the precedence if the same document exists in both places.

Tasks

Configuring a New Web Application or Web Service

Using the Web Application Deployment Descriptor Editor

Additional Documentation

(Requires an Internet connection.)

weblogic.xml Deployment Descriptor Elements

Attributes

Attribute Label | Description | Value Constraints
--- | --- | ---
Local Path | Specifies a physical location on the disk to be mapped to the url pattern. Attribute: LocalPath | Configurable: yes Readable: yes Writable: yes
URLPatterns | Contains the url pattern of the mapping. Must follow the rules specified in Section 11.2 of the Servlet API Specification. Attribute: URLPatterns | Configurable: yes Readable: yes Writable: yes