8.7. Deploying an application from a WAR file

As part of our exploration of the Servlet V2.2 facilities we obtained some example WAR files from the JavaSoft Web site. These files deployed successfully and we will describe the deployment procedure and its effects by referring to one of these example files.

8.7.1. Obtaining the example WAR file

We chose to use the WAR file template.war. This file is in the archive referenced by the URL:

http://java.sun.com/products/jsp/tutorial/examples/examples.zip

The WAR file contains the expected combination of static content and Java classes as shown in Figure 200:

Figure 200. Contents of template.war file

Figure 201 on page 330 shows the deployment descriptor for the application. It is very similar ...

Get WebSphere V3.5 Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.