Tag Files use the attribute directive

There’s a shiny new type of directive, and it’s just for Tag Files. Nothing else can use it. It’s just like the <attribute> sub-element in the <tag> section of the TLD for a custom tag.

image with no caption

What happens if you do NOT have the attribute when you use the tag

image with no caption

Get Head First Servlets and JSP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.