15.1. Getting Started with Custom Tags

Tag libraries are fairly complex. In ColdFusion, it is very easy to start writing CFML custom tags. It isn't in JSP. That is, unless you know a little Java. Then you realize that all that is happening is that you're extending a certain set of classes and then describing the tag in an XML format. With everything we now know about Java you should find it much easier to get started writing custom tags than would a Web developer with little or no Java knowledge. This accounts somewhat for the structure of this book. Custom tags are simply much more important in JSP than they are in ColdFusion. That's because ColdFusion already has 90 tags for you to work with right out of the box. JSP doesn't. So in this section ...

Get Java™ for ColdFusion® Developers 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.