OK, let’s get real...
Remember the beer webapp from Chapter 3? Let’s improve it a bit, and automate part of the HTML form:
If we make the options dynamic, they’ll be easier to update and change, without messing around with the HTML. Instead, we want the options to be generated from a Java
List created in the web application. So here’s the custom tag we want to build: