All JSP pages, HTML pages, Java source code, and class files for the examples can be downloaded from the O’Reilly site at http://www.oreilly.com/catalog/jsvrfaces/.
They can also be downloaded from my personal web site, where you also find articles, tips, and other resources:
On this site, you’ll find a Download page where you can download the examples distribution file, called jsfexamples.zip. Save the file on your hard drive (for instance, in C:\JSFBook on a Windows platform) and unpack it:
jar xvf jsfexamples.zip
You can use the same command on a Unix platform.
Two new directories are created: jsfbook and src. The first directory contains all examples described in this book, and the second contains the Java source files for the JavaBeans, custom components, and other classes used in the examples.
The examples directory structure complies with the standard Java web application format described in Chapter 4. You can therefore install the examples in any JSP 2.0-compliant web container to run the examples. If you like to use a container other than Tomcat, be sure to read the documentation for that container for instructions on how to install a web application.
To install the example application for Tomcat, simply copy the web application directory structure (the jsfbook directory) to Tomcat’s default directory for applications, called webapps. On a Windows platform, you can copy/paste the directory structure with the ...