|
Download
FAQ History |
|
API
Search Feedback |
The Example JSP Pages
This chapter illustrates JSP scripting elements using a version of the
hello2example introduced in Chapter 4--webclient--that accesses a Web service. To build, package, deploy, and run thewebclientexample:
- Build and deploy the JAX-RPC Web service
MyHelloServicedescribed in Creating a Web Service with JAX-RPC.- In a terminal window, go to
<INSTALL>/jwstutorial12/examples/jaxrpc/webclient/.- Run
antbuild. This target will spawn any necessary compilations and copy files to the<INSTALL>/jwstutorial12/examples/jaxrpc/webclient/build/directory.- Start Tomcat.
- Run
antinstall. Theinstalltarget notifies Tomcat that the new context is available.- Open your browser to
http://localhost:8080/webclient/greeting
|
Download
FAQ History |
|
API
Search Feedback |
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.