Java Reference
In-Depth Information
actions) and the JSF engine will look for a page named
book.xhtml
in the current directory.
We are done with the Java classes. You should now check your project structure
matches the following screenshot:
Coding the JSF view
Now that our middle tier is completed, we just need to add a couple of JSF views
to our application into the
views
folder of our webapp. The first view, named
setup.xhtml
, will set up our theatre and the second one, named
book.xhtml
,