FAQ
History
PreviousHomeNext Search
Feedback
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", which was defined in the build.xml file.

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.

Image of the ConverterBean Web Client.  This image shows the title of the page, and displays a box for the user to enter a value.  When Submit is clicked, this value is translated to Yen and Euro and the resulting value is displayed on the screen.

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
FAQ
History
PreviousHomeNext Search
Feedback
Divider

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.