The JavaTM Web Services Tutorial
Home
TOC
Index
PREV TOP NEXT
Divider

Running the Getting Started Application

To run the application, you need to make sure that Tomcat is running, then run the JSP page from a Web browser.

Running the Web Client

To run the Web client, point your browser at the URL:

http://localhost:8080/GSApp
 

In this release of the Java WSDP, Tomcat requires that the host be localhost, which is the machine on which Tomcat is running. In this example, the context for this application is "GSApp". The context was defined either in the build.xml file or by the name entered in the WAR Display Name field of deploytool.

To test the application,

  1. Enter 100 in the "Enter an amount to convert" field.
  2. Click Submit.

Figure 3-1 shows the running application.

Figure 3-1 ConverterBean Web Client

Shutting Down Tomcat

When you are finished testing and developing your application, you should shut down Tomcat.

<JWSDP_HOME>/bin/shutdown.sh        (Unix platform)
 
<JWSDP_HOME>\bin\shutdown           (Microsoft Windows)
 
Divider
Home
TOC
Index
PREV TOP NEXT
Divider

This tutorial contains information on the 1.0 version of the Java Web Services Developer Pack.

All of the material in The Java Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.