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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access