2
Upgrading WebLogic Server 4.5 and 5.1 to Version 7.0
2-10
BEA WebLogic Server 7.0 Upgrade Guide
“XML Deployment Descriptors” on page 2-11
“WAR Files” on page 2-12
“Deploying Web Applications” on page 2-12
“Session Porting” on page 2-13
“JavaServer Pages (JSPs) and Servlets” on page 2-14
“Porting a Simple Servlet from WebLogic Server 5.1 to WebLogic Server 7.0”
on page 2-15
Web Applications Directory Structure
Web Applications are organized in a specified directory structure so that they can be
archived and deployed on WebLogic Server. All servlets, classes, static files, and other
resources belonging to a Web Application are organized under a directory hierarchy.
The root of this hierarchy defines the document root of your Web Application. 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. The root directory
should be named with the name of your Web Application.
The following diagram illustrates the directory structure of any Web Application.
WebApplicationRoot\(Publically available files such as
| .jsp, .html, .jpg, .gif)
|
+WEB-INF\-+
|
+ classes\(directory containing
| Java classes including
| servlets used by the
| Web Application)
|
+ lib\(directory containing
| JAR files used by the
| Web Application)
|
+ web.xml
|
+ weblogic.xml