How to Proceed
Create a new project using tutor's existing sources, then
modify, delete, and add files in this new project as necessary.
Here are some of the things that will be different:
- tutor will have two .jsp files, one for the operation
selection screen and one for the question presentation screen.
- tutor will have different bean classes and resource bundles.
- You can get by with one bean in the com.corejsf package. Delete
the QuizBean and ProblemBean classes from the copied
number quiz application.
- Bean configuration and page navigation in faces-config.xml will
need to be modified, but web.xml is unchanged.
- The number quiz application uses static navigation from one page to
itself. This application requires dynamic navigation as described in
chapter 3 of Core JSF. Look at the javaquiz example on
pp. 82-83.