Download
FAQ History |
![]() ![]() ![]() |
API
Search Feedback |
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 thewebclient
example:
- Build and deploy the JAX-RPC Web service
MyHelloService
described in Creating a Web Service with JAX-RPC.- In a terminal window, go to
<
INSTALL
>/jwstutorial12/examples/jaxrpc/webclient/
.- Run
ant
build
. This target will spawn any necessary compilations and copy files to the<
INSTALL
>/jwstutorial12/examples/jaxrpc/webclient/build/
directory.- Start Tomcat.
- Run
ant
install
. Theinstall
target 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.