Technical data

How WebLogic Server Resolves HTTP Requests
Administration Guide 8-11
How WebLogic Server Resolves HTTP
Requests
When WebLogic Server receives an HTTP request, it resolves the request by parsing
the various parts of the URL and using that information to determine which Web
Application and/or server should handle the request. The examples below demonstrate
various combinations of requests for Web Applications, virtual hosts, servlets, JSPs,
and static files and the resulting response.
Note: If you package your Web Application as part of an Enterprise Application, you
can provide an alternate name for a Web Application that is used to resolve
requests to the Web Application. For more information, see Deploying Web
Applications as Part of an Enterprise Application at
http://e-docs.bea.com/wls/docs61/webapp/deployment.html#war
-ear
.
The table below provides some sample URLs and the file that is served by WebLogic
Server. The Index Directories Checked column refers to the Index Directories attribute
that controls whether or not a directory listing is served if no file is specifically
requested. You set Index Directories using the Administration Console, on the Web
Applications node, under the Configuration
Files tab.
Table 8-1 Examples of How WebLogic Server Resolves URLs
URL Index
Directories
Checked?
This file is served in
response
http://host:port/apples
No Welcome file* defined in
the
apples Web
Application.
http://host:port/apples
Yes Directory listing of the top
level directory of the
apples Web Application.