FAQ
History
PreviousHomeNext Search
Feedback
Divider

The Example JSP Pages

This chapter illustrates JSTL with excerpts from the JSP version of the Duke's Bookstore application discussed in Chapter 16 rewritten as follows:

The source for the Duke's Bookstore application is located in the <JWSDP_HOME>/docs/tutorial/examples/web/bookstore4 directory created when you unzip the tutorial bundle (see Running the Examples).

To build, install, and run the example:

  1. In a terminal window, go to <JWSDP_HOME>/docs/tutorial/examples/web/bookstore4.
  2. Run ant build. The build target will spawn any necessary compilations and copy files to the <JWSDP_HOME>/docs/tutorial/examples/web/bookstore4/build directory.
  3. Make sure Tomcat is started.
  4. Run ant install. The install target notifies Tomcat that the new context is available.
  5. Start the PointBase database server and populate the database if you have not done so already (see Accessing Databases from Web Applications).
  6. Open the bookstore URL http://localhost:8080/bookstore4/enter.

See Common Problems and Their Solutions and Troubleshooting for help with diagnosing common problems.

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.