... page now shows how many selections have been made (1) and allows the user to make another selection (Fig. 30.17).

Fig. 30.17 index.xhtml after the user has submitted the form the first time, made another selection and is about to submit the form again.

A window titled, topic selection page.

The user makes a second topic selection and submits the form again. The app stores the selection in this user’s existing SelectionsBean object and returns the index.xhtml page (Fig. 30.18), which shows how many selections have been made so far (2).

Fig. 30.18 index.xhtml after the user has submitted the form the second time and is about to click the link to the recommendations.xhtml ...

Get Java How to Program, Early Objects, 11th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.