O'Reilly logo

Head First Servlets and JSP, 2nd Edition by Bert Bates, Bryan Basham, Kathy Sierra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

image with no caption

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:

image with no caption

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required