Netscape ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual page 30

Guide to servlets
Table of Contents

Advertisement

Deploying a Web Application using wdeploy
When you execute the
A web application with the given
web-apps.xml
The .WAR file gets extracted at the target
For example:
wdeploy deploy -u /hello -i server.netscape.com -v example.com
-d /nes60/https-server.netscape.com/example.com/web-apps/hello
/nes60/plugins/servlets/examples/web-apps/HelloWorld/HelloWorld.war
This utility results in the following
<vs>
<web-app uri="/hello"
dir="/nes60/https-server.netscape.com/example.com/webapps/hello"/>
</vs>
The
/nes60/https-server.netscape.com/example.com/web-apps/hello
directory has the following contents:
colors
index.jsp
META-INF
WEB-INF/
web.xml
/classes/
Before you can run a web application that has been deployed, you must make sure
that the
your virtual server.
After you have deployed an application, you can access it from a browser as
follows:
http://vs_urlhost[:vs_port]/uri_path/[index_page]
The parts of the URL have the following meanings:
vs_urlhost
vs_port
30
Netscape Enterprise Server Programmer's Guide to Servlets • April 2002 (Draft)
wdeploy deploy
file.
HelloWorldServlet.class
HelloWorldServlet.java
SnoopServlet.class
SnoopServlet.java
file for the server instance points to the
server.xml
One of the urlhosts values for the virtual server.
(optional) Only needed if the virtual server uses a non-default port.
command, two things happen:
and
uri_path
directory
.
directory
entry:
web-apps.xml
gets added to the
file for
web-apps.xml

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents