O'Reilly logo

Servlet, JSP and Spring MVC: A Tutorial by Budi Kurniawan

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

Chapter 7

Tag Files

You have seen in Chapter 6, “Writing Custom Tags” that custom tags enable you to write script-free JSP pages, thus promoting separation of labor, which means the page designer and the Java coder can work simultaneously. However, you’ve also learned that writing custom tags is a tedious chore, involving writing and compiling tag handlers and defining the tags in the tag library descriptor.

Starting from JSP 2.0, you can write tag files, which are custom actions without tag handlers and tag library descriptors. With tag files no compilation is necessary and no tag library descriptor is required.

This chapter discusses tag files in detail. It starts with an introduction to tag files and then covers several aspects of ...

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