Download
FAQ
History
HomeHomeNext API
Search
Feedback
Divider

The Example JSP Pages

This chapter illustrates JSP scripting elements using a version of the hello2 example introduced in Chapter 4--webclient--that accesses a Web service. To build, package, deploy, and run the webclient example:

  1. Build and deploy the JAX-RPC Web service MyHelloService described in Creating a Web Service with JAX-RPC.
  2. In a terminal window, go to <INSTALL>/jwstutorial12/examples/jaxrpc/webclient/.
  3. Run ant build. This target will spawn any necessary compilations and copy files to the <INSTALL>/jwstutorial12/examples/jaxrpc/webclient/build/ directory.
  4. Start Tomcat.
  5. Run ant install. The install target notifies Tomcat that the new context is available.
  6. Open your browser to http://localhost:8080/webclient/greeting
Divider
Download
FAQ
History
HomeHomeNext API
Search
Feedback
Divider

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