The JavaTM Web Services Tutorial
Home
TOC
PREV TOP NEXT

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

If you deployed the application using the Ant tool, you can run the Web client by pointing your browser at the URL http://localhost:8080/gs. 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 "gs".

If you deployed the application using deploytool, you can run the Web client by pointing your browser at the following 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 was defined as "GSApp" in the WAR Display Name field of the deploytool.

You should see the following after entering 100 in the input field and clicking Submit:

Figure 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)
 
Home
TOC
PREV TOP NEXT