iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)

Using NonStop Servlets for JavaServer Pages With
The iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—522659-001
9-8
The Web Application
Further information on JSP may be found at JavaServer Pages on page 9-33.
The Web Application
The web application is a collection of servlets, HTML, images, JavaServer Pages, a
deployment descriptor and other configuration files that together represent all the
resources necessary to host a complete application on a J2EE-compliant web server.
Web applications should be located in a directory under the root directory of the
container engine (our default for the root is /usr/tandem/webserver/servlet_jsp), typically
called webapps.
Assume you have an application called myapp1 and that one of the servlets in that
application is called helloworld.
The directory structures are as follows
/servlet_jsp/webapps/myapp1
where myapp1 is the name of your web application directory.
At this level you can store files such index.html, or create subdirectories to manage your
web application resources, for example, /images for graphics files.
Figure 9-2. JSP Data Flows
VST902.vsd
Client Browser iTP WebServer
JSP Page
Java Servl et
Component
First Time Use
Subsequent Use
Compilation