Compiling and Running the Page Navigation Example - Java
This chapter has been leading us gently through the JavaServer Faces technology. More importantly, in it, Budi teaches ushow to write an online survey application to get a feel for how this great technology works. This chapter prepares you for the next chapters by introducing the JSF Application Programming Interface (API) and the Application Configuration file. This excerpt comes from chapter two of JavaServer Faces Programming, by Budi Kurniawan (McGraw-Hill/Osborne, ISBN 0-07-222983-7, 2004).
To run the application, direct your browser to the following URL:
Figure 11The survey page
You will see something similar to Figure 11.
Type something in both input boxes and click Submit. You will see a result similar to Figure 12 in your browser.
If you click the Go Back button in the second page (page2.jsp), you will go back to the first page.
Figure 12 The response page
Remember: This is part three of the second chapter of JavaServer Faces Programming, by Budi Kurniawan (McGraw-Hill/Osborne, ISBN 0-07-222983). If you've enjoyed what you've seen here, click on the "Buy it now!" banner to pick up a copy today! Buy this book!