7.4. Custom Tag Libraries

We've seen that JSP comes with a number of action tags that are predefined for our use, but if we try to avoid the use of scriptlets and do everything with action tags, we quickly find that they haven't enough capability to support many of the things we want to do.

JavaServer Pages actions are extensible through custom tag libraries. If there are additional actions you need to use, you can simply implement them yourself and make them accessible to your JSP. Many such libraries have already been created; an excellent source of them is the Apache Taglibs project (http://jakarta.apache.org/taglibs). At this site, you can find tag libraries for working with JDBC, regular expressions, XML, and many other capabilities that ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services 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.