We will just have one controller class, where we will map all the pages that we are going to create in this example. To showcase the power of HDIV, we will see HDIV in action for two cases:
- A movie creation page (movie bean), showing HDIV at work in a page containing a form
- A links page that shows HDIV intercepting and throwing errors when someone manipulates the actual link
The class is quite straightforward and doesn't need to be detailed here.